Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.ParseContent
Runs the content parser.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 4.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.ParseContent"; PDF; PageIndex ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| PageIndex | The page to check. Range is from one to DynaPDF.GetPageCount. | 1 |
Result
Returns text or error.
Description
Runs the content parser.Returns a list of text representations of the various PDF commands founds.
Output shows entries like this:
SaveGraphicState
Rectangle X: 0.000000 Y: 0.000000 W: 842.000000 H: 595.000000
ClipPath EvenOdd: 0 PathFillMode: 10
SetFillColor IColorSpace: 0x843e34d0 ExtColorSpace: 6 NumComps: 1 Color[0]: 1.000000
MulMatrix Matrix: 1.000000 0.000000 0.000000 -1.000000 0.000000 595.000000
Rectangle X: 19.842520 Y: 19.637820 W: 240.944900 H: 555.690600
SetFont FontType: 1 Embedded: 1 FontName: Cochin Style: 419430400, FontSize: 1.000000, Font: 0x86131e00
ShowTextArray Count: 1 Width: 1.500000 Matrix: 13.000000 0.000000 0.000000 -13.000000 63.150010 237.000000 SourceAdvance[0]: 0.000000 SourceLength[0]: 3 SourceText[0]: SourceAdvance[0]: 0.000000 SourceLength[0]: 3 SourceText[0]: +49 KerningAdvance[0]: 0.000000 KerningLength[0]: 3 KerningWidth[0]: 1.500000 KerningText[0]: +49
This function uses the parser interface in DynaPDF and needs a Pro license.
See also ParseContent function in DynaPDF manual.
Examples
Parse content of page 6:
MBS( "DynaPDF.ParseContent"; $pdf; 6 )
See also
Blog Entries
Release notes
- Version 10.2
- Fixed crash in DynaPDF.ParseContent function.
Created 18th August 2014, last changed 19th March 2019
DynaPDF.PageStatistics - DynaPDF.PlaceSigFieldValidateIcon
Feedback: Report problem or ask question.
Links
MBS FileMaker blog