This property sets whether or not, when drawing with a Pen object, the start point and end point are connected with a line.

[Visual Basic] Public Property ClosePenLine As Boolean
[C#] public bool ClosePenLine {get; set;}

Property Value

True: The start and end points are connected

False: The start and end points are not connected

Default value is False

Explanation

The ClosePenLine property sets whether or not, when drawing with the Pen object, the start point and end point are connected with a line. When drawing with a mouse drag, the line connecting the start and end points will be drawn when the mouse is released. The ClosePenLine property is only enabled for the Pen object.

When the ClosePenLine property is true and the Fill property is true, the closed pen line will be filled with the color set in the BackColor property at the opacity level set by the BackColorOpacity property.

To make changes to this property after it is drawn, right click on the Pen object to display the context menu, execute the ShowPropertyDialog method to display the property dialog, or set the SelectedObjectClosePenLine property.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation