共用方式為


ITextViewLine.TextTop Property

Gets the y-coordinate of the top 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 TextTop As Double
double TextTop { get; }
property double TextTop {
    double get ();
}
abstract TextTop : float
function get TextTop () : double

Property Value

Type: System.Double
The y-coordinate of the top of the text in the rendered line.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace