TextBounds.Height 属性

获取矩形上边缘与下边缘之间的距离(以文本呈现坐标系表示)。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public ReadOnly Property Height As Double
public double Height { get; }
public:
property double Height {
    double get ();
}
member Height : float with get
function get Height () : double

属性值

类型:Double
矩形的上边缘与下边缘之间的距离 (以文本呈现坐标系表示)。

备注

此值始终为正数的。

.NET Framework 安全性

请参阅

参考

TextBounds 结构

Microsoft.VisualStudio.Text.Formatting 命名空间