EnableZoomInRect example for C++ 5.0 and later

This example toggles the EnableZoomInRect property.

// Toggle the ZoomInRect setting
if (m_LEADRasterView1.GetEnableZoomInRect() == TRUE)
   m_LEADRasterView1.SetEnableZoomInRect(FALSE);
else
   m_LEADRasterView1.SetEnableZoomInRect(TRUE);