PDF region selector

You can use the Region selector tool on IBM RPA Studio to configure the input parameters of either the Get PDF Region Text(pdfRegionText) command or the Get PDF Image(pdfImage) command.

Region selector overview

1. File
Click the Open button to select the PDF file. This button adds the Open PDF file (pdfOpen) command to the current script.

2. Paging
Select the PDF pages. These are the available options:

Icons
Click the ◀ icon to return to the previous page, and click the ▶ icon to advance to the next page.

Page selection
Select a page from the PDF file in the page field.

3. Selection
This section contains options to extract data from the PDF file. These are the supported options:

Image
Defines that an image must be extracted from the PDF. After selecting a region in the file with this option enabled, the Get PDF image (pdfImage) command is automatically filled and added to your script. Enter a variable in the Image output parameter to get the image from the PDF file.

Text
Defines that a text must be extracted from the PDF. After selecting region in the file with this option enabled, the Get PDF region text (pdfRegionText) command is automatically filled and added to your script. Select a language in the Culture parameter and enter a variable in the Text output parameter to get the text from the PDF file.

4. View
Click the Restore button to reset the PDF view.

5. PDF field
This field displays the PDF file.

Known limitations

The Scale and layout display option of your Windows® environment must be set to 100% for the tool to work properly. Enabling Fix scaling for apps in the Advanced scaling settings might prevent setting your scaling option to 100%, but it is not a reliable workaround.