asposecells.api
Class IndividualFontConfigs

Font configs for each Workbook object.

Constructor Summary
IndividualFontConfigs()
           Ctor.
 
Method Summary
methodgetFontSources()
           Gets a copy of the array that contains the list of sources
methodgetFontSubstitutes(originalFontName)
           Returns array containing font substitute names to be used if original font is not presented.
methodsetFontFolder(fontFolder, recursive)
           Sets the fonts folder
methodsetFontFolders(fontFolders, recursive)
           Sets the fonts folders
methodsetFontSources(sources)
           Sets the fonts sources.
methodsetFontSubstitutes(originalFontName, substituteFontNames)
           Font substitute names for given original font name.
 

Constructor Detail

IndividualFontConfigs

IndividualFontConfigs()
Ctor.

Method Detail

setFontSubstitutes

 setFontSubstitutes(originalFontName, substituteFontNames)
Font substitute names for given original font name.
Parameters:
originalFontName: String - Original font name.
substituteFontNames: String[] - List of font substitute names to be used if original font is not presented.

getFontSubstitutes

String[] getFontSubstitutes(originalFontName)
Returns array containing font substitute names to be used if original font is not presented.
Parameters:
originalFontName: String - originalFontName
Returns:
An array containing font substitute names to be used if original font is not presented.

setFontFolder

 setFontFolder(fontFolder, recursive)
Sets the fonts folder
Parameters:
fontFolder: String - The folder that contains TrueType fonts.
recursive: boolean - Determines whether or not to scan subfolders.

setFontFolders

 setFontFolders(fontFolders, recursive)
Sets the fonts folders
Parameters:
fontFolders: String[] - The folders that contains TrueType fonts.
recursive: boolean - Determines whether or not to scan subfolders.

setFontSources

 setFontSources(sources)
Sets the fonts sources.
Parameters:
sources: FontSourceBase[] - An array of sources that contain TrueType fonts.

getFontSources

FontSourceBase[] getFontSources()
Gets a copy of the array that contains the list of sources
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.