AnnGetPointCount method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short AnnGetPointCount(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

Fills the AnnPointCount property with the number of vertices (corner points) in an annotation object.

AnnGetPointCount works only with the following types of objects:

ANN_OBJECT_POINTER
ANN_OBJECT_FREEHAND
ANN_OBJECT_LINE
ANN_OBJECT_POLYGON
ANN_OBJECT_POLYLINE

You can use the AnnGetType method to identify the object type.

Read the AnnPointCount property after calling this method to Get the number of vertices.

See Also

Elements

AnnGetPointX method, AnnGetPointY method

Topics

Annotations (Document/Medical only): Automation

 

Obtaining Annotation Object Information