MagGlassFlags property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Cardinal MagGlassFlags

Delphi Syntax

MagGlassFlags : Cardinal

Overview

Refer to Using the Magnifying Glass

Remarks

Flags that indicate which colors in the zoomed image of the Magnifying Glass will be displayed, which colors will be masked, and whether the Magnifying Glass will be manually updated. Possible values are:

The following flags indicate which colors will be displayed and which will be masked:

Value

Meaning

MAGGLASS_MASK_NORMAL

[$0000] Only those colors present in the MagGlassMask property will be masked in the Magnifying Glass display area. All other colors will be displayed.

MAGGLASS_MASK_INVERT

[$0001] Only those colors present in the MagGlassMask property will be displayed in the Magnifying Glass display area. All other colors will be masked.

The following flag indicates whether the Magnifying Glass will be manually updated.

Value

Meaning

MAGGLASS_MANUAL_UPDATE

[$0002] LEADTOOLS will not handle the mouse events in order to manipulate the Magnifying Glass. The user must control the Magnifying Glass by using the ShowMagGlass and SetMagGlassPos methods.

See Also

Elements:

MagGlassMask property, MagGlassMaskCount property, OnMagGlassCursor event, StartMagGlass method, StopMagGlass method, ShowMagGlass method, SetMagGlassPos method

Topics:

Raster Images: Displaying Images