ShowMagnifier Method

Example-VB Example-VC++

Displays or hides the magnifier window.  Can also optionally move and resize the magnifier window.

Available With

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

Applies To

Image Edit control

Syntax

object.ShowMagnifier Show[[,Left,Top][,Width,Height]]

Arguments

Parameter Data Type Setting

Show Boolean True Display the magnifier window
False Hide the magnifier window
Left Long The horizontal position of the magnifier window in pixels, relative to the upper-left corner of the screen
Top Long The vertical position of the magnifier window in pixels, relative to the upper-left corner of the screen
Width Long The width of the magnifier window in pixels
Height Long The height of the magnifier window in pixels

Return Value

None

Remarks

If the position and size parameters are not specified, the magnifier window is shown at its previous location, in its previous size.  If the Left parameter is specified, the Top parameter must also be specified. Likewise, if the Width parameter is specified, the Height parameter must also be specified.

The magnifier window can be resized by the user at run time; it does not have a caption bar.