This method deletes a point from a Polyline, Polygon, or Pen object.

[Visual Basic] Public Function DeletePolylinePoint(num As Integer) As Boolean
[C#] public bool AddPolylinePoint(int num);

Parameters

num: the point number of the point to be deleted (starts from 1)

Return Value

Returns True if successful, otherwise returns False.

Explanation

The DeletePolylinePoint method deletes a point from 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 delete the selected point from that object.

If no object is selected or if the selected object is out of scope, or if the num argument is 0 or less or if the number argument is greater than the number of points, 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