FontSettings Class
General imaging vector formats renderer font settings.
Inheritance Hierarchy
SystemObject
  Aspose.ImagingFontSettings

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.05
Syntax
public static class FontSettings

The FontSettings type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDefaultFontName
Gets or sets the default name of the font.
Methods
  NameDescription
Public methodStatic memberGetDefaultFontsFolders
Gets the default fonts folders.
Public methodStatic memberGetFontsFolders
Gets a copy of the array that contains the list of folders where Aspose.Words looks for TrueType fonts.
Public methodStatic memberReset
Resets the fonts folder and default font name to the system default.
Public methodStatic memberSetFontsFolder
This is a shortcut to SetFontsFolders(String, Boolean) for setting only one font directory. There are no checks performed on the fonts folder.
Public methodStatic memberSetFontsFolders
Sets the folders where TrueType fonts are loaded from and clears all loaded fonts. There are no checks performed on the fonts folders.
Public methodStatic memberUpdateFonts
Updates fonts cache for PSD files that contain text layers. This method guarantees that fonts from folder fontsFolder using method FontSettings.SetFontsFolder(fontsFolder) or after reset fonts using FontSettings.Reset() will be taken into consideration when processing PSD files. Please use this method each time when FontSettings.SetFontsFolder(fontsFolder) or FontSettings.Reset() called for PSD images. Without calling this Method there is no guarantee that fonts will be updated.
See Also