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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
DynaPDF.ExtractPageRectText
Extracts the text of the page in a rectangle.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Deprecated
This function was deprecated. Use DynaPDF.ExtractText instead.
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
pageIndex | The number of the page. Must be within 1 and DynaPDF.GetPageCount. | 1 |
RectLeft | Left coordinate of the rectangle to search. | 0 |
RectTop | Top coordinate of the rectangle to search. | 0 |
RectRight | Right coordinate of the rectangle to search. | 595 |
RectBottom | Bottom coordinate of the rectangle to search. | 842 |
Result
Returns the text or error message.
Description
Extracts the text of the page in a rectangle.Use DynaPDF.ExtractPageText is you need text from whole page.
Text that starts within the given rectangle is captured.
Be aware that PDF coordinates start on bottom left of page with 0/0.
Needs DynaPDF Lite license.
Examples
Takes text only from top rectangle:
MBS("DynaPDF.ExtractPageRectText"; $pdf; $PageIndex; 0; 695; 595; 842)
Takes text only from left column:
MBS("DynaPDF.ExtractPageRectText"; $pdf; $PageIndex; 0; 0; 295; 842)
Takes text only from right column:
MBS("DynaPDF.ExtractPageRectText"; $pdf; $PageIndex; 295; 0; 595; 842)
See also
Release notes
- Version 13.0
- Deprecated DynaPDF.ExtractPageRectText and DynaPDF.ExtractPageText functions in favor of DynaPDF.ExtractText function.
- Version 10.1
- Fixed a problem with recursive templates in DynaPDF.ExtractDocumentText, DynaPDF.ExtractPageRectText and DynaPDF.ExtractPageText functions.
Blog Entries
- MBS FileMaker Plugin, version 12.6pr1
- MBS FileMaker Plugin, version 10.1pr5
- MBS FileMaker Plugin 6.2 for OS X/Windows
- MBS FileMaker Plugin, version 6.2pr7
This function checks for a license.
Created 30th April 2016, last changed 10th November 2022
