TextMetrics.AverageCharWidth 属性

定义

获取或设置该字体中字符的平均宽度。

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

该字体中字符的平均宽度。

注解

平均字符宽度通常定义为字母“x”的宽度。 此值不包括粗体或斜体字符所需的悬停。

适用于