Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Adds a search path to the list of available font search paths.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Path | Path to font file directory or path to font file. | "C:\Fonts" |
Recursive | Include subdirectories (search recursively). Pass 1 for recursive or 0 for not recursive. |
1 |
Returns number of fonts loaded or error message.
See also AddFontSearchPath function in DynaPDF manual.
Loads font folder on Windows:
MBS( "DynaPDF.AddFontSearchPath"; $pdf; "C:\Fonts"; 1 )
This function checks for a license.
Created 18th August 2014, last changed 11st November 2022