Pen.Thickness Property

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member Thickness : float with get, set

Property Value

Type: System.Double

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

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

Identifier field

ThicknessProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: