PaintZoomFactor property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int PaintZoomFactor

Delphi Syntax

PaintZoomFactor: Integer

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 smZoom.

This property is read only when the PaintSizeMode property is set to another value. When it is set to smStretch, 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