SetMagGlassPos method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SetMagGlassPos (float fXPos, float fYPos);

Overview

Refer to Using the Magnifying Glass

Remarks

Moves the Magnifying Glass to the (fXPos, fYPos) position on the screen.

This method is used to move the Magnifying Glass to the specified position on the screen when the user is manually updating the Magnifying Glass. It is used in conjunction with the ShowMagGlass method. To manually update the Magnifying Glass, MAGGLASS_MANUAL_UPDATE must be set in the MagGlassFlags property.

If the Magnifying Glass is displayed, then this method will move the Magnifying Glass to the specified (fXPos, fYPos) position and it will be displayed there. If the Magnifying Glass is hidden, then this method will move the Magnifying Glass to the specified position, but will not display it.

This method can be called in the LEADRasterView MouseMove event to control the position of 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, ShowMagGlass method, UpdateMagGlassFromHandle method

Topics:

Raster Images: Displaying Images

 

Using the Zoom View