Verify if a PDF document does not contain text layer and is exclusively composed of images.
1 pdf.reader.isImageOnly
<pdf.reader.isImageOnly debug='debug'>
<inputreader_pdf /> ?
</pdf.reader.isImageOnly>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Adebug | boolean | Allows to activate the debug trace which shows how the resulting text has been obtained. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Einputreader_pdf | pdf.reader | The PDF object which you want to process. |
Returns | |
---|---|
Type | Description |
boolean | Returns true if the PDF document does not contain text layer. |
Example
Copy
<println> <pdf.reader.isImageOnly> <pdf.reader> <file type='absolute' name='src_plain.pdf' /> </pdf.reader> </pdf.reader.isImageOnly> </println>