共用方式為


TextBounds.TextTop 屬性

取得在包含文字的那一行上文字的頂端。

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

語法

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

屬性值

類型:Double
含有文字的行上的文字。

.NET Framework 安全性

請參閱

參考

TextBounds 結構

Microsoft.VisualStudio.Text.Formatting 命名空間