Class FontManager
Inheritance
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Documents.dll
Syntax
public static class FontManager : Object
Methods
GetRegisteredFontFamilyInfo(FontFamily)
Gets the registered FontFamilyInfo.
Declaration
public static FontFamilyInfo GetRegisteredFontFamilyInfo(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
Returns
FontFamilyInfo
|
GetRegisteredFonts()
Gets registered fonts.
Declaration
public static RegisteredFonts GetRegisteredFonts()
Returns
RegisteredFonts
|
GetSupportedCharacters(FontFamily)
Declaration
public static ICollection<char> GetSupportedCharacters(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
|
Returns
System.Collections.Generic.ICollection<System.Char>
|
HasKerning(String)
Declaration
public static bool HasKerning(string fontName)
Parameters
System.String
fontName
|
Returns
System.Boolean
|
HasRegisteredFontFamily(FontFamily)
Determines whether the specified font family is registered.
Declaration
public static bool HasRegisteredFontFamily(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
Returns
System.Boolean
|
RegisterFont(FontFamily)
Registers a font.
Declaration
public static void RegisterFont(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
RegisterFont(FontFamilyInfo)
Registers a FontFamilyInfo.
Declaration
public static void RegisterFont(FontFamilyInfo fontFamilyInfo)
Parameters
FontFamilyInfo
fontFamilyInfo
The font family info. |
UnregisterFont(FontFamily)
Unregisters a font.
Declaration
public static bool UnregisterFont(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font to unregister. |
Returns
System.Boolean
|
UnregisterFont(FontFamilyInfo)
Unregisters a FontFamilyInfo.
Declaration
public static bool UnregisterFont(FontFamilyInfo fontFamilyInfo)
Parameters
FontFamilyInfo
fontFamilyInfo
The font family info. |
Returns
System.Boolean
|