Load Event

Example-VB Example-VC++

This event occurs immediately after the Display method is invoked.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

Sub object_Load(Zoom)

Argument

Parameter Data Type Setting

Zoom Double Returns the default zoom factor of 100.

The Zoom parameter can also return the following values:

-1 Fit to width.  The image was fit to the width of the window when it was displayed.
-2 Fit to height.  The image was fit to the height of the window when it was displayed.
-3 No previously saved zoom factor.

Note: Zoom values of -1 and -2 may not be compatible with some applications.


Remarks

Once a Load event occurs, the visibility of the group can be changed, and other properties and methods can be set or invoked.

If desired, your program can use the returned zoom factor to set the Zoom property, or the Option parameter of the FitTo method, prior to displaying another image.