Home Search

DriveWorks Pro 22
PDF: Image(s) to PDF

Send Feedback

PDF: Image(s) to PDF

This Specification Task will create a PDF file from the given images.

One image is added per page. Pages are sized to the same dimensions as the image.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Image FilesA pipebar delimited list of image paths to convert. Images will be added in the given list order.

Image files supported are .png, .jpeg, .jpg and .bmp.

PDF FileThe filename and path of where to save the generated PDF file.
OverwriteTRUE to overwrite the PDF file if it already exists, FALSE to leave it alone.

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleMeaning
Image Files"D:\DriveWorks\Image1.jpg|D:\DriveWorks\Image2.jpg"Will import images into the document ProductGuide.pdf
PDF File"D:\DriveWorks\MyPDF.pdf"Will create the file MyPDF.pdf from the given images.
OverwriteTRUEWill overwrite the existing PDF file.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • The export was successful.

Success with Warnings

  • N/A

Failed

  • There was an error.
  • The PDF file could not be created.
  • The Image file given does not have a valid image extension.
  • The Task failed to create the directory where the image files would be saved.