Typeface.UnderlinePosition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the distance of the underline from the baseline for the typeface.
public:
property double UnderlinePosition { double get(); };
public double UnderlinePosition { get; }
member this.UnderlinePosition : double
Public ReadOnly Property UnderlinePosition As Double
Property Value
A Double that indicates the underline position, measured from the baseline and expressed as a fraction of the font em size.
Remarks
The return value is usually negative, to place the underline below the baseline. For example, a return value of -0.1
indicates that the underline position is one-tenth of a font em below the baseline, while a return value of -0.25
indicates that it is one-fourth of a font em below the baseline.
Applies to
.NET