PaintZoomFactor Example for Visual J++

This example shows how to set the PaintZoomFactor property so that image is scaled 200 percent for display.

LEAD1.setAutoScroll( false );
LEAD1.setAutoSetRects( true );
LEAD1.setPaintSizeMode( (short) LTOCXU.PaintSizeModeConstants.PAINTSIZEMODE_ZOOM );
LEAD1.setPaintZoomFactor( 200 );
LEAD1.ForceRepaint();