This property sets a custom dash pattern for a single selected straight line, polyline, polygon, or pen object.
Property Value
An array indicating the length of the dashed lines and blanks
The default value is {2.0F, 1.0F}.
Explanation
The SelectedObjectDashPattern property sets a custom dash pattern for a single selected straight line, polyline, polygon, or pen object.
When the SelectedObjectDashStyle property is System.Drawing.Drawing2D.DashStyle.Custom, the dashed line pattern set in this property is valid.
The property is represented by the length relative to the line thickness, and the values are "first length, spacing, second length, next spacing ...". This property cannot be set in the property dialog, so set it by writing the code.
* Example of setting the dash line of the pattern [---- --- ---]
in (c #):
ImageKit1.Edit.SelectedObjectDashPattern = new float [] {2.0F,
1.0F, 2.0F, 1.0F, 2.0F, 2.0F};
See also
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit