This method inserts a point into a Polyline, Polygon, or Pen object.

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

Parameters

num: the smaller point number of the two point between which a new point is to be inserted (starts from 1)

Return Value

Returns True if successful, otherwise returns False.

Explanation

The InsertPolylinePoint method inseerts a point into 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 insert a new point after the selected point.

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.

NOTE: This method inserts a new point BETWEEN two points. If you have selected the last point in the object, an error will occur and False will be returned. To add a new point after the last point, use the AddPolylinePoint method.

See also

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

 

The ImageKit.NET3 is created by Newtone Corporation