EnableMagGlassDraw property (ILEADRasterView)
VARIANT_BOOL EnableMagGlassDraw | |
Overview |
Refer to Customizing Magnifying Glass Painting. |
Remarks
Enables or disables the generation of the MagGlassOwnerDraw event. Possible values are:
Value |
Meaning |
VARIANT_TRUE |
Generate the MagGlassOwnerDraw event. |
VARIANT_FALSE |
Do not generate the MagGlassOwnerDraw event. |
If this property is true, then after the StartMagGlass method is called, and the magnifying glass paints itself to the DC, but before the magnifying glass is displayed on the screen, the user can change what is in the DC, through the MagGlassOwnerDraw event. This allows the user to provide custom rendering of the magnifying glass, within the magnifying glass's display area. For example, this feature lets you render magnified annotations, which may be overlaid on the currently displayed image, or just simply override what is currently in the magnifying glass display area.
To stop the generation of the MagGlassOwnerDraw event, set this property to VARIANT_FALSE.
See Also