Edit

Share via


TextMetrics.AverageCharWidth Property

Definition

Gets or sets the average width of characters in the font.

public:
 property int AverageCharWidth { int get(); void set(int value); };
public int AverageCharWidth { get; set; }
member this.AverageCharWidth : int with get, set
Public Property AverageCharWidth As Integer

Property Value

The average width of characters in the font.

Remarks

The average character width is generally defined as the width of the letter "x". This value does not include the overhang required for bold or italic characters.

Applies to