Partager via


ITextViewLine.TextHeight Property

Gets the vertical distance between the top and bottom of the text in the rendered line.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property TextHeight As Double
double TextHeight { get; }
property double TextHeight {
    double get ();
}
abstract TextHeight : float with get
function get TextHeight () : double

Property Value

Type: Double
The vertical distance between the top and bottom of the text in the rendered line.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace