public class FontConfigs
Constructor Summary |
---|
Property Getters/Setters Summary | ||
---|---|---|
static java.lang.String | getDefaultFontName() | |
staticvoid | setDefaultFontName(java.lang.Stringvalue) | |
Gets or sets the default font name. |
Method Summary | ||
---|---|---|
static com.aspose.diagram.FontSourceBase[] | getFontSources() | |
Gets a copy of the array that contains the list of sources
|
||
static java.lang.String[] | getFontSubstitutes(java.lang.String originalFontName) | |
Returns array containing font substitute names to be used if original font is not presented.
|
||
static void | setFontFolder(java.lang.String fontFolder, boolean recursive) | |
Sets the fonts folder
|
||
static void | setFontFolders(java.lang.String[] fontFolders, boolean recursive) | |
Sets the fonts folders
|
||
static void | setFontSources(com.aspose.diagram.FontSourceBase[] sources) | |
Sets the fonts sources.
|
||
static void | setFontSubstitutes(java.lang.String originalFontName, java.lang.String[] substituteFontNames) | |
Font substitute names for given original font name.
|
public static java.lang.String getDefaultFontName() / public static void setDefaultFontName(java.lang.String value)
public static void setFontSubstitutes(java.lang.String originalFontName, java.lang.String[] substituteFontNames)
originalFontName
- Original font name.substituteFontNames
- List of font substitute names to be used if original font is not presented.public static java.lang.String[] getFontSubstitutes(java.lang.String originalFontName)
originalFontName
- originalFontNamepublic static void setFontFolder(java.lang.String fontFolder, boolean recursive)
fontFolder
- The folder that contains TrueType fonts.recursive
- Determines whether or not to scan subfolders.public static void setFontFolders(java.lang.String[] fontFolders, boolean recursive)
fontFolders
- The folders that contains TrueType fonts.recursive
- Determines whether or not to scan subfolders.public static void setFontSources(com.aspose.diagram.FontSourceBase[] sources)
sources
- An array of sources that contain TrueType fonts.public static com.aspose.diagram.FontSourceBase[] getFontSources()