共用方式為


ITextViewLine.Top Property

Gets the position of the top edge of this line in the text rendering coordinate system.

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

Syntax

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

Property Value

Type: System.Double
The position of the top edge of this line in the text rendering coordinate system.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace