The handle of the element returned by the ElementCreate method.
The x coordinate in pixels of the desired point.
The y coordinate in pixels of the desired point.
Description
Adds a new point to a point array attached to an existing element. This is for creating line and multi-point annotations.
Syntax
Visual Basic
Public Sub ElementAddPoint( _
ByVal elementHandle As Long, _
ByVal x As Long, _
ByVal y As Long _
)
Parameters
elementHandle
The handle of the element returned by the ElementCreate method.
x
The x coordinate in pixels of the desired point.
y
The y coordinate in pixels of the desired point.
Remarks
Some of the annotation types require one or more points to specify location. For example, to describe a line you would add two points to specify the starting and ending points of the line.