This property sets the width of the pen used for editing and for annotation objects.

[Visual Basic] Public Property PenWidth As Integer
[C#] public int PenWidth {get; set;}

Property Value

The width of the pen in pixels

Default value is 1

Explanation

The PenWidth property sets the width of the pen used for editing and for annotation objects. This property determines the width of the line for the Line, Polyline, Polygon, Rectangle, RoundRectangle, Ellipse, and Pen objects. It also determines the width of the border for the Text and Stamp objects. The unit of measurement is pixel. This property does not apply to the Image object.

To make changes to the pen width after an object has been drawn, select the object and right click to display the "context menu", execute the ShowPropertyDialog method, or set the SelectedObjectPenWidth property.

Also See

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

 

The ImageKit.NET3 is created by Newtone Corporation