ITextViewLine.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
頂端和底端呈現的一行中的文字之間的垂直距離。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。