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


Creates the parser object.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Parser.Create"; PDF; Flags )   More


Parameter Description Example
PDF The PDF reference. $pdf
Flags The flags to use.
Can be a number with values from dynapdf documentation, see table on this page.


Returns OK or error.


Creates the parser object.
The function creates a parser context that can be used to edit and extract text, or do delete arbitrary operators of a page.

The content parser is used by DynaPDF.Optimize too. Therefore, the same flags and optimization parameters are supported. Please have a look at DynaPDF.Optimize for a description of the available flags and parameters. The parameter OptimizeParams can be set to nil and OptimizeFlags to "Default" if nothing special should be achieved.


Initialize parser:

Set Variable [ $OptimizeFlags ; Value: 0 ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Parser.Create"; $pdf; $OptimizeFlags ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 23th November 2023, last changed 23th November 2023

DynaPDF.Parser.ChangeAltFont - DynaPDF.Parser.DeleteText