This property retrieves the coordinate points of the selected object.

[Visual Basic] Public ReadOnly Property SelectedObjectDrawPoints As List<Point>
[C#] public List<Point> SelectedObjectDrawPoints {get;}

Property Value

A value of System.Collections.Generic.List<Point>
Default value is null.

Explanation

The SelectedObjectDrawPoints property retrieves the coordinate points of the selected object as follows:

Line Object - The start point and end point are retrieved. (The number of elements in the list = 2)
Rectangle, Text, and Paste Image Objects - The top left point and the bottom right point are retrieved. (The number of elements in the list = 2)
Ellipse Object - The top left point and bottom right point of the ellipse's bounding rectangle are retrieved. (The number of elements in the list = 2)
Polygon and Polyline Objects - The start point and end point for each straight line is retrieved. (The number of elements in the list for the polygon will be the same as the number of straight lines. The number of elements in the list for the polyline will be the number of straight lines + 1.)
Pen Object - Because the pen object's drawing structure is a series of continuous short straight lines, the start point and end point for each straight line is retrieved. (The number of elements in the list will be the number of straight lines + 1)

When the EditKind property is set to values other than KindOfEdit.Select or when no object has been selected, this property value will be null.

Also See

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

 

The ImageKit.NET2 is created by Newtone Corporation