Fonts Fonts Fonts Fonts Class

Definition

Provides enumeration support for FontFamily and Typeface objects.

public ref class Fonts abstract sealed
public static class Fonts
type Fonts = class
Public Class Fonts
Inheritance
FontsFontsFontsFonts

Remarks

A font family is a set of fonts that have the same typeface, such as Arial, but that differ in features. These feature differences include Style, such as italic, and Weight, such as bold.

Fonts
Example of typefaces that are "Times New Roman" font family members

Properties

SystemFontFamilies SystemFontFamilies SystemFontFamilies SystemFontFamilies

Gets the collection of FontFamily objects from the default system font location.

SystemTypefaces SystemTypefaces SystemTypefaces SystemTypefaces

Gets the collection of Typeface objects from the default system font location.

Methods

GetFontFamilies(String) GetFontFamilies(String) GetFontFamilies(String) GetFontFamilies(String)

Returns the collection of FontFamily objects from a string value that represents the location of the fonts.

GetFontFamilies(Uri) GetFontFamilies(Uri) GetFontFamilies(Uri) GetFontFamilies(Uri)

Returns a collection of FontFamily objects from a uniform resource identifier (URI) value that represents the location of the fonts.

GetFontFamilies(Uri, String) GetFontFamilies(Uri, String) GetFontFamilies(Uri, String) GetFontFamilies(Uri, String)

Returns a collection of FontFamily objects using a base uniform resource identifier (URI) value to resolve the font location.

GetTypefaces(String) GetTypefaces(String) GetTypefaces(String) GetTypefaces(String)

Returns the collection of Typeface objects from a string value that represents the font directory location.

GetTypefaces(Uri) GetTypefaces(Uri) GetTypefaces(Uri) GetTypefaces(Uri)

Returns a collection of Typeface objects from a uniform resource identifier (URI) value that represents the font location.

GetTypefaces(Uri, String) GetTypefaces(Uri, String) GetTypefaces(Uri, String) GetTypefaces(Uri, String)

Returns a collection of Typeface objects using a base uniform resource identifier (URI) value to resolve the font location.

Applies to

See also