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)
ParameterTypeDescription
fontsFoldersstring[]An array of folders that contain TrueType fonts.
recursivebooleanTrue 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