TableSubstitutionRule class
TableSubstitutionRule class
Table font substitution rule. To learn more, visit the Working with Fonts documentation article.
Remarks
This rule defines the list of substitute font names to be used if the original font is not available. Substitutes will be checked for the font name and the FontInfo.altName (if any).
Inheritance: TableSubstitutionRule → FontSubstitutionRule
Properties
Name | Description |
---|---|
enabled | Specifies whether the rule is enabled or not. (Inherited from FontSubstitutionRule) |
Methods
Name | Description |
---|---|
addSubstitutes(originalFontName, substituteFontNames) | Adds substitute font names for given original font name. |
getSubstitutes(originalFontName) | Returns array containing substitute font names for the specified original font name. |
load(fileName) | Loads table substitution settings from XML file. |
load(stream) | Loads table substitution settings from XML stream. |
loadAndroidSettings() | Loads predefined table substitution settings for Android platform. |
loadLinuxSettings() | Loads predefined table substitution settings for Linux platform. |
loadWindowsSettings() | Loads predefined table substitution settings for Windows platform. |
save(fileName) | Saves the current table substitution settings to file. |
save(outputStream) | Saves the current table substitution settings to stream. |
setSubstitutes(originalFontName, substituteFontNames) | Override substitute font names for given original font name. |
See Also
- module Aspose.Words.Fonts
- class FontSubstitutionRule