語言

Fonts 類別

定義

提供物件的列舉支援FontFamilyTypeface。

public ref class Fonts abstract sealed
public static class Fonts
type Fonts = class
Public Class Fonts
繼承
Fonts

備註

字型家族是一組擁有相同字體的字型,例如 Arial,但其功能有所不同。 這些特徵差異包括 Style,例如斜體,以及 Weight,例如粗體。

字型 字屬於「Times New Roman」字型家族成員的字體範例

屬性

名稱 Description
SystemFontFamilies

從預設系統字型位置取得物件集合 FontFamily 。

SystemTypefaces

從預設系統字型位置取得物件集合 Typeface 。

方法

名稱 Description
GetFontFamilies(String)

回傳來自字串值的物件集合 FontFamily ,該值代表字型的位置。

GetFontFamilies(Uri, String)

回傳一組 FontFamily 物件,使用基本的統一資源識別碼(URI)值來解析字型位置。

GetFontFamilies(Uri)

從統一資源識別碼(URI)值回傳一組 FontFamily 物件,代表字型的位置。

GetTypefaces(String)

回傳來自字串值的物件集合 Typeface ,該值代表字型目錄的位置。

GetTypefaces(Uri, String)

回傳一組 Typeface 物件,使用基本的統一資源識別碼(URI)值來解析字型位置。

GetTypefaces(Uri)

從代表字型位置的統一資源識別碼(URI)值回傳一組 Typeface 物件。

適用於

另請參閱