AnnGetPointY method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnGetPointY(long hObject, ILEADRasterVariant * pVarPoint);

Overview

Refer to Implementing Annotations.

Remarks

Returns an array of floating-point numbers for the Y coordinates of the vertices (corner points) of the specified annotation object. You can use this method with the AnnGetPointX 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, AnnGetPointX method

Topics

Annotations (Document/Medical only): Automation

 

New Annotation Features of Version 14.5

 

Calibrating Annotation Ruler Objects