Typeface.StrikethroughPosition Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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