Pen.Thickness Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Public Property Thickness As Double

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: