This documentation is archived and is not being maintained.
Fonts Class
Visual Studio 2010
Provides enumeration support for FontFamily and Typeface objects.
Assembly: PresentationCore (in PresentationCore.dll)
The Fonts type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | SystemFontFamilies | Gets the collection of FontFamily objects from the default system font location. |
![]() ![]() | SystemTypefaces | Gets the collection of Typeface objects from the default system font location. |
Name | Description | |
---|---|---|
![]() ![]() | GetFontFamilies(String) | Returns the collection of FontFamily objects from a string value that represents the location of the fonts. |
![]() ![]() | 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) | Returns a collection of FontFamily objects using a base uniform resource identifier (URI) value to resolve the font location. |
![]() ![]() | GetTypefaces(String) | Returns the collection of Typeface objects from a string value that represents the font directory location. |
![]() ![]() | GetTypefaces(Uri) | Returns a collection of Typeface objects from a uniform resource identifier (URI) value that represents the font location. |
![]() ![]() | GetTypefaces(Uri, String) | Returns a collection of Typeface objects using a base uniform resource identifier (URI) value to resolve the font location. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: