Class FontsSettings
Namespace: Aspose.Html
Assembly: Aspose.HTML.dll (25.2.0)
Represents fonts handling settings.
[ComVisible(true)]
public class FontsSettings
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
FontMatcher
Gets or sets the class which allows you to control some parts of the font matching algorithm.
public FontMatcher FontMatcher { get; set; }
Property Value
Methods
GetFontsLookupFolders()
Gets a copy of array which contains fonts folders. Fonts found in these folders are used for characters rendering.
public string[] GetFontsLookupFolders()
Returns
string[]
A copy of fonts folders array.
SetFontsLookupFolder(string)
Sets folder used during fonts selection.
public void SetFontsLookupFolder(string fontsFolder)
Parameters
fontsFolder
string
The fonts folder.
SetFontsLookupFolder(string, bool)
Sets folder used during fonts selection.
public void SetFontsLookupFolder(string fontsFolder, bool recursive)
Parameters
fontsFolder
string
The fonts folder.
recursive
bool
If set to true
all nested directories will be used. Default value is false
.
SetFontsLookupFolders(string[])
Sets an array of folders used during fonts selection.
public void SetFontsLookupFolders(string[] fontsFolders)
Parameters
fontsFolders
string[]
The fonts folders.
SetFontsLookupFolders(string[], bool)
Sets an array of folders used during fonts selection.
public void SetFontsLookupFolders(string[] fontsFolders, bool recursive)
Parameters
fontsFolders
string[]
The fonts folders.
recursive
bool
If set to true
all nested directories will be used. Default value is false
.