Pen.Width property

Gets or sets the width of this Pen, in units of the Graphics object used for drawing.

public float Width { get; set; }

Property Value

The width of this Pen.


exception condition
ArgumentException The Width property is set on an immutable Pen, such as those returned by the Pen class.

See Also