Class IndividualFontConfigs
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Font configs for each Aspose.Cells.Workbook object.
public class IndividualFontConfigs
Inheritance
object ← IndividualFontConfigs
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
IndividualFontConfigs()
Ctor.
public IndividualFontConfigs()
Methods
GetFontSources()
Gets a copy of the array that contains the list of sources
public FontSourceBase[] GetFontSources()
Returns
GetFontSubstitutes(string)
Returns array containing font substitute names to be used if original font is not presented.
public string[] GetFontSubstitutes(string originalFontName)
Parameters
originalFontName
string
originalFontName
Returns
string[]
An array containing font substitute names to be used if original font is not presented.
SetFontFolder(string, bool)
Sets the fonts folder
public void SetFontFolder(string fontFolder, bool recursive)
Parameters
fontFolder
string
The folder that contains TrueType fonts.
recursive
bool
Determines whether or not to scan subfolders.
SetFontFolders(string[], bool)
Sets the fonts folders
public void SetFontFolders(string[] fontFolders, bool recursive)
Parameters
fontFolders
string[]
The folders that contains TrueType fonts.
recursive
bool
Determines whether or not to scan subfolders.
SetFontSources(FontSourceBase[])
Sets the fonts sources.
public void SetFontSources(FontSourceBase[] sources)
Parameters
sources
FontSourceBase[]
An array of sources that contain TrueType fonts.
SetFontSubstitutes(string, string[])
Font substitute names for given original font name.
public void SetFontSubstitutes(string originalFontName, string[] substituteFontNames)
Parameters
originalFontName
string
Original font name.
substituteFontNames
string[]
List of font substitute names to be used if original font is not presented.