Partager via


TextBounds.Width Property

Definition

Gets the distance between the leading and trailing edges of the rectangle in the text rendering coordinate system.

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

Property Value

The distance between the leading and trailing edges of the rectangle in the text rendering coordinate system.

Remarks

This value will always be non-negative.

Applies to