Extract text from area
Read the text inside a rectangle of one page, e.g. an invoice number box that is not a form field.
Command in the PDF toolkit · id ooa.pdf/extract_area_text · 7 inputs (5 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | PDF file. | |
| Page | Number | No | 1 | 1-based page number. |
| X | Number | Yes | Left edge of the area in points (72 per inch) from the left of the page. | |
| Y | Number | Yes | Top edge of the area in points from the top of the page. | |
| Width | Number | Yes | Width of the area in points. | |
| Height | Number | Yes | Height of the area in points. | |
| Password | Credential | No | Password for protected PDFs. |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | Text found inside the rectangle, trimmed. |