setFontsFolders method
setFontsFolders(fontsFolders, recursive) {#string[]_boolean}
Sets the folders where Aspose.Words looks for TrueType fonts when rendering documents or embedding fonts.
setFontsFolders(fontsFolders: string[], recursive: boolean)
Parameter | Type | Description |
---|---|---|
fontsFolders | string[] | An array of folders that contain TrueType fonts. |
recursive | boolean | True to scan the specified folders for fonts recursively. |
Remarks
By default, Aspose.Words looks for fonts installed to the system.
Setting this property resets the cache of all previously loaded fonts.
See Also
- module Aspose.Words.Fonts
- class FontSettings