EnableZoomInRect example for Visual J++

This example toggles the EnableZoomInRect property.

// Toggle the ZoomInRect setting
if( LEAD1.getEnableZoomInRect() )
   LEAD1.setEnableZoomInRect( false );
else
   LEAD1.setEnableZoomInRect( true );