lPointCount

The number of points in the array that you specify in the pPoints parameter.

Call this method once, passing 2 arrays of point coordinates, which must be in the order in which the vertices are connected. To define the line that closes a polygon, the last point in the array is connected to the first point of the array.

Alternatively, use the AnnDefine method to specify the array of points interactively.

AnnSetPoints 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_POINT
ANN_OBJECT_PROTRACTOR
ANN_OBJECT_FREEHANDHOTSPOT
ANN_OBJECT_TEXTPOINTER
ANN_OBJECT_POLYRULER