Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
This function was deprecated. Use DynaPDF.ExtractText instead.
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)
This function checks for a license.
Created 30th April 2016, last changed 10th November 2022