Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.Parser.Create
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
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference. | ||
Flags | The flags to use. Can be a number with values from dynapdf documentation, see table on this page. |
"ConvertAllColors,ScaleImages" |
Result
Returns OK or error.
Description
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.
Examples
Initialize parser:
Set Variable [ $OptimizeFlags ; Value: 0 ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Parser.Create"; $pdf; $OptimizeFlags ) ]
See also
- DynaPDF.Optimize
- DynaPDF.Parser.DeleteText
- DynaPDF.Parser.FindText
- DynaPDF.Parser.Line
- DynaPDF.Parser.ParsePage
- DynaPDF.Parser.ReplaceSelText
- DynaPDF.Parser.Reset
- DynaPDF.Table.Create
Release notes
- Version 14.0
- Added DynaPDF parser functions: DynaPDF.Parser.ChangeAltFont, DynaPDF.Parser.Create, DynaPDF.Parser.DeleteText, DynaPDF.Parser.ExtractText, DynaPDF.Parser.FindText, DynaPDF.Parser.Line, DynaPDF.Parser.ParsePage, DynaPDF.Parser.ReplaceSelText, DynaPDF.Parser.SetAltFont, DynaPDF.Parser.TextMatrix, DynaPDF.Parser.WriteToPage.
Example Databases
Blog Entries
This function checks for a license.
Created 23th November 2023, last changed 23th November 2023
DynaPDF.Parser.ChangeAltFont - DynaPDF.Parser.DeleteAllImages