StartMagGlass method (ILEADRasterView)
short StartMagGlass (float fWidth, float fHeight, short nZoom, OLE_COLOR clrPen, OLE_COLOR clrBack, boolean bEllipse, float fBorderSize, boolean b3D, CrosshairConstants Crosshair, boolean bIgnoreRgn, boolean bCenter); | |
Overview |
Refer to Using the Magnifying Glass |
Remarks
Starts the Magnify Glass procedure.
The appearance of the magnifying glass depends on the values of bEllipse, clrPen, b3D and fBorderSize. This can be seen in the table below:
bEllipse |
b3D |
fBorderSize |
ClrPen |
Result |
TRUE |
Ignored |
Valid |
Valid |
An elliptical magnifying glass of border size fBorderSize and border color clrPen. |
FALSE |
FALSE |
Valid |
Valid |
A rectangular magnifying glass with a flat border of width fBorderSize and border color clrPen. |
FALSE |
TRUE |
Ignored |
Ignored |
A rectangular magnifying glass with a 3D border having a set width and color. |
The following properties can be used to control the painting options for the magnifying glass:
The cursor for the magnifying glass can have one of the following default shapes:
When bEllipse = TRUE, the default cursor will be:
When bEllipse = FALSE, the default cursor will be:
A custom shape can be used by setting the following properties:
PanWinPointer = 99 ' custom
PanWinCursor = Your custom cursor image
Note: To make use of other shapes of the Magnifying Glass use the UpdateMagGlassShape method.
See Also
Elements: |
|
Topics: |
|
|