ShowMagGlass method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short ShowMagGlass (VARIANT_BOOL bShowMagGlass);

Overview

Refer to Using the Magnifying Glass

Remarks

Shows or hides the Magnifying Glass on the screen.

This method is used to control the display of the Magnifying Glass on the screen when the user is manually updating the Magnifying Glass. It is used in conjunction with the SetMagGlassPos method. To manually update the Magnifying Glass, MAGGLASS_MANUAL_UPDATE must be set in the MagGlassFlags property.

This method can be called with bShowMagGlass set to TRUE, when the left mouse button is pressed, to show the Magnifying Glass. It can be called with bShowMagGlass set to FALSE when the left mouse button is released to hide the Magnifying Glass.

Note:

This method can be used only if the MAGGLASS_MANUAL_UPDATE flag was set in the MagGlassFlags property.

See Also

Elements

MagGlassFlags property, MagGlassCursor event, StartMagGlass method, StopMagGlass method, SetMagGlassPos method, UpdateMagGlassFromHandle method

Topics:

Raster Images: Displaying Images

 

Using the Zoom View