UpdateMagGlassFromHandle method (ILEADRasterView)

Visual Basic Example

Visual C++ 5.0 example

 

Syntax

short UpdateMagGlassFromHandle (OLE_HANDLE hBitmap, VARIANT_BOOL bUpdateBitmap);

Overview

Refer to Using the Magnifying Glass

Remarks

Updates the bitmap that the Magnifying Glass uses to paint the zoomed area.

This function provides a new bitmap that the Magnifying Glass can display in the zoomed area. The dimensions of the bitmap referenced by hBitmap should be equal to the dimensions of the Magnifying Glass bitmap.

If bUpdateBitmap is TRUE, the bitmap of the ILEADRasterView control will be updated with parts of the bitmap referenced by hBitmap as the cursor moves over the ILEADRasterView control's bitmap.

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, SetMagGlassPos method

Topics:

Raster Images: Displaying Images

 

Using the Zoom View