Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Typeface.StrikethroughPosition Property


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

Gets a value that indicates the distance from the baseline to the strikethrough for the typeface.

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

public double StrikethroughPosition { get; }

Property Value

Type: System.Double

A Double that indicates the strikethrough position, measured from the baseline and expressed as a fraction of the font em size.

A return value of 0.1 indicates that the strikethrough position is one-tenth of a font em above the baseline, while a return value of 0.25 indicates that its one-fourth of a font em above the baseline.

.NET Framework
Available since 3.0
Return to top
© 2018 Microsoft