FamilyTypeface.UnderlinePosition Property

Gets or sets the position of underline value relative to the baseline. The value is also relative to em size.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public double UnderlinePosition { get; set; }
<object UnderlinePosition="double" .../>

Property Value

Type: System.Double
A value of type Double.

The value of UnderlinePosition is usually negative in order to place the underline below the baseline.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft