Obtains the text of the indicated page of the PDF document.
1 pdf.reader.getTextFromPage
<pdf.reader.getTextFromPage
page='page'
debug='debug'
>
<inputreader_pdf /> ?
</pdf.reader.getTextFromPage>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apage | integer | Page number of which you want to extract the text. | |||
Adebug | boolean | Allows to activate the debug trace which shows as the resulting text has been obtained. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Einputreader_pdf | stream | The PDF object which you want to process. |
Returns | |
---|---|
Type | Description |
string | Returns the corresponding text to the text layer of the indicated. |
Example
Obtains the reader object through a PDF file.
Copy
<pdf.reader.getTextFromPage page='1' debug='true'> <pdf.reader> <file type='absolute' name='src_plain.pdf' /> </pdf.reader> </pdf.reader.getTextFromPage>