PaintZoomFactor property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax float PaintZoomFactor

Overview:  Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Is the zoom factor that is used when the AutoSetRects property is TRUE.

You can read and write this property when the PaintSizeMode property is PAINTSIZEMODE_ZOOM.

This property is read only when the PaintSizeMode property is set to another value. When it is set to PAINTSIZEMODE_STRETCH, the zoom factor is the smallest of the width or height zoom factors (the aspect ratio is not preserved).

If the AutoSetRects property is FALSE, this property is not valid.

See Also

Elements:  AutoRepaint property, AutoSetRects property, PaintSizeMode property, AutoScroll property, AutoSize property

Topics:  Raster Images: Displaying Images