Adds a new point to a point array attached to an existing element. This is for creating line and multi-point annotations.
Visual Basic |
---|
Public Sub ElementAddPoint( _ ByVal elementHandle As Long, _ ByVal x As Long, _ ByVal y As Long _ ) |
- 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.
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.