共用方式為


TextBounds.Height Property

Definition

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

public:
 property double Height { double get(); };
public:
 property double Height { double get(); };
public double Height { get; }
member this.Height : double
Public ReadOnly Property Height As Double

Property Value

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

Remarks

This value will always be positive.

Applies to