This property sets the width of the pen used for all 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 annotation objects including Line, Polyline, Polygon, Rectangle, and Ellipse. The unit of measurement is pixel. This property does not apply to the Text  or the Paste Image objects.

To make changes to an object after it has been drawn, select the object and right click to display the "context menu", execute the ShowPropertyDialog method, or execute the SetSelectedObjectPenWidth method.

Also See

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

 

The ImageKit.NET2 is created by Newtone Corporation