CharacterMetrics 類別

定義

表示用於配置裝置字型字元的度量。Represents the metrics used to lay out a character in a device font.

public ref class CharacterMetrics
public class CharacterMetrics
type CharacterMetrics = class
Public Class CharacterMetrics
繼承
CharacterMetrics

建構函式

CharacterMetrics()

初始化 CharacterMetrics 類別的新執行個體。Initializes a new instance of the CharacterMetrics class.

CharacterMetrics(String)

將度量指定為字串,初始化 CharacterMetrics 類別的新執行個體。Initializes a new instance of the CharacterMetrics class by specifying the metrics as a string.

屬性

Baseline

取得字元的基準值。Gets the baseline value for the character.

BlackBoxHeight

取得字元黑色方塊的高度。Gets the height of the black box for the character.

BlackBoxWidth

取得字元黑色方塊的寬度。Gets the width of the black box for the character.

BottomSideBearing

取得黑色方塊下方的建議空白區 (White Space)。Gets the recommended white space below the black box.

LeftSideBearing

取得黑色方塊左側的建議空白區。Gets the recommended white space to the left of the black box.

Metrics

取得或設定表示度量值之以逗號分隔的字串。Gets or sets a comma-delimited string representing metric values.

RightSideBearing

取得黑色方塊右側的建議空白區。Gets the recommended white space to the right of the black box.

TopSideBearing

取得黑色方塊上方的建議空白區。Gets the recommended white space above the black box.

方法

Equals(Object)

判斷指定的 CharacterMetrics 物件是否等於目前的 CharacterMetrics 物件。Determines whether the specified CharacterMetrics object is equal to the current CharacterMetrics object.

GetHashCode()

CharacterMetrics 物件的度量值建立雜湊程式碼。Creates a hash code from the metric values of the CharacterMetrics object.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於