This property sets the coordinate points of the selected object.

[Visual Basic] Public Property SelectedObjectDrawPoints As System.Windows.Point()
[C#] public System.Windows.Point[] SelectedObjectDrawPoints {get; set;}

Property Value

An array of type System.Windows.Point
Default value is null.

Explanation

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

Line Object - The start point and end point are set. (The number of elements in the array = 2)
Rectangle, RoundRectangle, Text, Stamp, and Image Objects - The top left point and the bottom right point are set. (The number of elements in the array = 2)
Ellipse Object - The top left point and bottom right point of the ellipse's bounding rectangle are set. (The number of elements in the array = 2)
Polygon and Polyline Objects - The start point and end point for each straight line is set. (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 array 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 set. (The number of elements in the array 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.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation