Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetCMapDir

The function sets a search path from which external CMap files can be loaded.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetCMapDir"; PDF; Path { ; Flags } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
Path Absolute native path to the folder. $path
Flags The flags to use.
Can be Default, Recursive or Delayed.
"Default" Optional

Result

Returns number of CMaps or error.

Description

The function sets a search path from which external CMap files can be loaded.
You can use Path.FileMakerPathToNativePath to convert paths if needed.

Requires DynaPDF Lite or Pro license.

See also SetCMapDir function in DynaPDF manual.

Examples

Set CMAP file:

Set Variable [ $r; Value: MBS("DynaPDF.SetCMapDir"; $pdf; "/Users/cs/Desktop/samples/CMap"; "Recursive") ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 14th November 2021


DynaPDF.SetBorderStyle - DynaPDF.SetCharacterSpacing