TextMetrics.AverageCharWidth 属性

定义

获取或设置该字体中字符的平均宽度。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

属性值

Int32

该字体中字符的平均宽度。The average width of characters in the font.

注解

通常字符宽度定义为字母 "x" 的宽度。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.

适用于