Fonts 類別
定義
提供 FontFamily 和 Typeface 物件的列舉支援。Provides enumeration support for FontFamily and Typeface objects.
public ref class Fonts abstract sealed
public static class Fonts
type Fonts = class
Public Class Fonts
- 繼承
-
Fonts
備註
字型系列是一組字型,其具有相同的字樣,例如 Arial,但功能並不相同。A font family is a set of fonts that have the same typeface, such as Arial, but that differ in features. 這些功能的差異包括 Style :斜體和( Weight 例如粗體)。These feature differences include Style, such as italic, and Weight, such as bold.
「Times New 羅馬字」字型系列成員的字樣範例Example of typefaces that are "Times New Roman" font family members
屬性
SystemFontFamilies |
從預設系統字型位置取得 FontFamily 物件的集合。Gets the collection of FontFamily objects from the default system font location. |
SystemTypefaces |
從預設系統字型位置取得 Typeface 物件的集合。Gets the collection of Typeface objects from the default system font location. |
方法
GetFontFamilies(String) |
從表示字型位置的字串值傳回 FontFamily 物件的集合。Returns the collection of FontFamily objects from a string value that represents the location of the fonts. |
GetFontFamilies(Uri) |
從表示字型位置的統一資源識別項 (URI) 值,傳回 FontFamily 物件的集合。Returns a collection of FontFamily objects from a uniform resource identifier (URI) value that represents the location of the fonts. |
GetFontFamilies(Uri, String) |
使用基底統一資源識別項值傳回 FontFamily 物件的集合以解析字型位置。Returns a collection of FontFamily objects using a base uniform resource identifier (URI) value to resolve the font location. |
GetTypefaces(String) |
從表示字型目錄位置的字串值傳回 Typeface 物件的集合。Returns the collection of Typeface objects from a string value that represents the font directory location. |
GetTypefaces(Uri) |
從代表字型位置的統一資源識別項 (URI) 值,傳回 Typeface 物件的集合。Returns a collection of Typeface objects from a uniform resource identifier (URI) value that represents the font location. |
GetTypefaces(Uri, String) |
使用基底統一資源識別項值傳回 Typeface 物件的集合以解析字型位置。Returns a collection of Typeface objects using a base uniform resource identifier (URI) value to resolve the font location. |