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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
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 |
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 |
Returns the text or error message.
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)
Created 30th April 2016, last changed 20th January 2018
DynaPDF.ExtractImages - DynaPDF.ExtractPageText
Feedback: Report problem or ask question.