共用方式為


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 安全性

請參閱

參考

ITextViewLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間