AnnGetPointX method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnGetPointX(long hObject, ILEADRasterVariant * pVarPoint);

Overview

Refer to Implementing Annotations.

Remarks

Fills the pVarPoint parameter with an array of floating-point numbers for the X coordinates of the vertices (corner points) of the specified annotation object. You can use this method with the AnnGetPointY method to get the vertices of the object. The points that define the vertices are relative to the bitmap in the control. The unit of measure is determined by the ScaleMode property.

AnnGetPointX works only with the following types of objects:

ANN_OBJECT_POINTER
ANN_OBJECT_FREEHAND
ANN_OBJECT_LINE
ANN_OBJECT_POLYGON
ANN_OBJECT_POLYLINE
Ann_OBJECT_TEXTPOINTER

You can use the AnnGetType method to identify the object type. You can use the AnnGetPointCount method to find out how many vertices are in the object.

Note:

For an ANN_OBJECT_TEXTPOINTER object, Points is updated with 5 points. The first four points are coordinates of a rectangle. The last two are the endpoints of the "pointer" segment.

See Also

Elements

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, AnnGetPointCount method, AnnGetPointY method

Topics

Annotations (Document/Medical only): Automation

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects