共用方式為


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

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

Property Value

Type: System.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