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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。