This documentation is for the old version. Go to the latest Graphics Mill docs

Pen.Width Property

Gets/sets pen width.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Property Width As Single
public float Width { get; set; }

Property Value

The width of the pen.


The width is measured in the same units as the GdiGraphics it is used at. Also, it uses the resolution of this GdiGraphics.

Due GDI limitation you can use other dash style than Solid only when pen width is 1.

Default value is 1.

See Also