編輯

共用方式為


FormattedText.LineHeight Property

Definition

Gets the line height, or line spacing, between lines of text.

public:
 property double LineHeight { double get(); void set(double value); };
public double LineHeight { get; set; }
member this.LineHeight : double with get, set
Public Property LineHeight As Double

Property Value

The line spacing between lines of text, provided in device-independent units (1/96th inch per unit).

Remarks

The default line height is automatically calculated, and is based on the font value that is passed as a parameter to the FormattedText constructor.

Applies to