Description

Reads all characters from a specified PDF file and stores it in a String variable.



Attributes

Output

  • Range - The range of results to be stored as the output.

Input

  • Range - The range of pages that you want to read. If the range isn’t specified, the whole file is read. You can specify a single page (“8”) or a range of pages (“8-11”) to be read. Only String variables and strings are supported. The default value is “All”.

File

  • FilePath - The full path of the PDF whose text would be read.

  • Password - The password of the PDF file if it requires one.

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Misc

  • DisplayName - Renames the activity.


Example

  1. Create a String variable and name it pdf.
  2. Add a Read PDF Text activity inside the initial Sequence.
  3. In the Read PDF Text Text field under Attributes, add the pdf variable.
  4. In the Read PDF Text File Path field, search and select the PDF file that you will use.
  5. After the Read PDF Text activity, add a Write Line activity.
  6. In the Write Line Text field, add the pdf variable. 

    The use case should look as the following screenshot:



With the given sample PDF file, the result should be its contents in the Output panel.