TextBounds.Height Property

Gets the distance between the top and bottom edges of the rectangle in the text rendering coordinate system.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

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

Property Value

Type: System.Double
The distance between the top and bottom edges of the rectangle in the text rendering coordinate system.

Remarks

This value is always positive.

.NET Framework Security

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace