This activity helps the user to convert the specified PDF pages into an image
format file.
Technical Reference
|
INPUT |
InputFilePath: This parameter specifies to provide the “Path” of the input pdf from where the text needs to be extracted.
You can either hardcode the values in the “String” variable or pass the values as “String” datatype.
This parameter accepts values in “String” datatype. |
OutputFileName: This parameter indicates the “Path” along with the name of the PDF to specify where output should be stored.
You have the option to either hardcode the values in the “String” variable or pass the values as “String” datatype.
This parameter accepts values in “String” datatype.
(Refer the tips to get detailed information). |
||
PageNumber: It indicates to specify the “page” range to convert them into an image.
You have the option to either hardcode the values in the “Integer” variable or pass the values as “Integer” datatype. |
||
Password: This parameter is used to specify the password if the pdf is protected.
You have the option to either hardcode the values in the “String” variable or pass the values as “String” datatype.
When the option is left blank, the password will not be considered.
This parameter accepts values in “String” datatype. |
||
MISC |
DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting. |
|
SkipOnError: Specify the "Boolean" value as "True" or "False."
True: Continue executing the workflow regardless of any errors thrown. False: Halt the workflow if it encounters any errors. None: If the option is left blank, the activity will, by default, behave as if "False" were chosen. |
||
Version: It indicates the version of the feature being used. |
||
OUTPUT |
Result: It provides the ability to view the execution status of the activity. It returns values in "Boolean."
True: Indicates that the activity has been executed successfully without any errors. False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown. |
* Represents mandatory fields to execute the workflow
Here's an example of how the “PDFPagetoImage” activity works in the workflow –
The following is a simple example that demonstrates how to convert the specified
pages from Input PDF file into the image.
1. Create a solution for building a workflow.
2. Drag and drop the " PDFPagetoImage " activity onto the designer pane and
set it as the “Start Node.”
3. Double-click the activity to provide the essential details.
a. Here, I am providing the “InputFilePath” as the name and path of my PDF
to convert.
b. Moving to the “OutputFileName” as the name and path of my image
file to store the converted PDFs.
4. Navigating to the “PageNumber” in the properties to specify the
number pf pages to convert it into image.
a. Here I am specifying the number as “1”.
5. Now, execute the workflow.
Click here to know how the activity is used in the workflow.