共用方式為


IAdornmentElement.TextHeight 屬性

取得裝飾文字的高度。

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

語法

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

屬性值

類型:Double
裝飾文字的高度。

備註

這會影響保留的文字上的空間數量ITextViewLine,這用來判斷插入號的垂直大小。

.NET Framework 安全性

請參閱

參考

IAdornmentElement 介面

Microsoft.VisualStudio.Text.Formatting 命名空間