共用方式為


ITextViewLine.TextTop 屬性

取得在呈現行中文字頂端的 Y 座標。

命名空間:  Microsoft.VisualStudio.Text.Formatting
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

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

屬性值

類型:Double
呈現的一行中的文字頂端的 y 座標。

.NET Framework 安全性

請參閱

參考

ITextViewLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間