Read PDF File
With the Read PDF File Action Step, you can read text from a PDF file.
Properties
File Settings
Directory Path (String) The path to the folder in which the PDF file is located.
File Name (String) The name of the PDF file.
Password protected (Boolean) This indicates whether the PDF document is to be opened with a password.
Read Mode
Read Mode Read mode for the PDF document.
The following options all belong to the Read Mode Read page range:
-
Read text from page (Integer) The text is read from this page onward.
-
Read text to page (Integer) The text is read up to this page.
-
Read to end of file (Boolean) If this option is selected, the text is read up to the end of the document.
Inbound Variables
Directory Path (String) The path to the folder in which the PDF file is located.
File Name (String) The name of the PDF file.
Password (Boolean) This indicates whether the PDF document is to be opened with a password.
Read text from page (Integer) The text is read from this page onward.
Read text to page (Integer) The text is read up to this page.
Wizard
The wizard is split into two areas File Settings and Read Mode.
In the File Settings, you specify the path to the folder in which the file is located and the name of the file.
In the Read Mode area, there are various modes available for reading a PDF file:
-
With Read entire file, the entire text of the document is read.
-
With Read page range, you can specify a specific range that is to be read. If the option Read to end file is selected, the PDF is read to the end.
-
With Read text in selected area, you can read the text from a selected area in the document.
For this, you must select a PDF file under File Settings. Then click on Define Area and the PDF is opened in a separate window.
Here you can select the required area using the mouse.
When you have selected the area, close the window with Save.
If you have selected an area to be read with one of the various Read Modes, you can use the Test button at the bottom right of the wizard in the Action Step to display the result.