FormattedText.Height Property

 

Gets the distance from the top of the first line to the bottom of the last line of the FormattedText object.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public double Height { get; }

Property Value

Type: System.Double

The distance from the top of the first line to the bottom of the last line, provided in device-independent units (1/96th inch per unit).

.NET Framework
Available since 3.0
Return to top
Show: