共用方式為


ITextCaret.Width 屬性

取得插入號在文字呈現座標系統中的寬度。

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

語法

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

屬性值

類型:Double
插入號的寬度。

.NET Framework 安全性

請參閱

參考

ITextCaret 介面

Microsoft.VisualStudio.Text.Editor 命名空間