Editare

Partajați prin


Typeface.UnderlinePosition Property

Definition

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