Pen.Thickness Property

Definition

Gets or sets the thickness of the stroke produced by this Pen.

public:
 property double Thickness { double get(); void set(double value); };
public double Thickness { get; set; }
member this.Thickness : double with get, set
Public Property Thickness As Double

Property Value

The thickness of the stroke produced by this Pen. Default is 1.

Remarks

Thickness is relative to the geometry of the shape associated with this pen. Negative values are treated as though they were positive.

Dependency Property Information

Identifier field ThicknessProperty
Metadata properties set to true None

Applies to