AutoSize property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

BOOL AutoSize

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Automatically sizes the Control to the size of the bitmap, if possible.

If the bitmap is larger than the current window, the control is resized to fit the image, regardless of the size of its container.

This property is effective when loading a bitmap and when taking any action (such as rotating a bitmap) that changes the dimensions of the bitmap.

Setting

Description

TRUE

Automatically size of the control to the size of the bitmap, if possible.

FALSE

the size of the bitmap does not affect the size of the control.

See Also

Elements:

AutoRepaint property, AutoSetRects property, PaintSizeMode property, PaintZoomFactor property, AutoScroll property

Topics:

Raster Images: Displaying Images