This method adds one point to the end of a Polyline, Polygon, or Pen object.

[Visual Basic] Public Function AddPolylinePoint(x As Integer, y As Integer) As Boolean
[C#] public bool AddPolylinePoint(int x, int y);

Parameters

x: the X coordinate of the point to be added
y: the Y coordinate of the point to be added

Return Value

Returns True if successful, otherwise returns False.

Explanation

The AddPolylinePoint method adds one point to the end of a Polyline, Polygon, or Pen object.

When both the EditByPoint and EditPolylinePointEnabled properties are true and a Polyline, Polygon, or Pen object has been selected executing this method will add a single point to the end of that object. If no object is selected or the selected object is out of scope, an error will occur and False will be returned.

See also

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET3 is created by Newtone Corporation