共用方式為


ITextViewLine.TextRight 屬性

取得在呈現行中文字右邊緣的 X 座標。

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

語法

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

屬性值

類型:Double
以呈現行文字的右邊緣的 x 座標。

備註

這不包括EndOfLineWidth為包含自動換行的行。

.NET Framework 安全性

請參閱

參考

ITextViewLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間