Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Adding Background Image to a PDF

Prev Next

Step Details

Introduced in Version---
Modified in Version---
LocationData > PDF 


The Add Background Image to a PDF step allows a user to add an image to a PDF file.


Property

Settings

PropertyDescriptionData Type
Choose values At RuntimeAllows the background image to only be applied to some PDF files that the user defines---
Add To All PDF PagesApplies the background to all PDF pages. Enabled by default---
Override Existing BackgroundAllows the new background image to override an existing background---


Inputs

PropertyDescriptionData Type
ImageImage to use for backgroundFileData
Pdf DocumentPDF file to add background image toFileData


Outputs

PropertyDescriptionData Type
Done


Pdf Document ResultThe PDF file with the modified backgroundFile Data



Example

 The following example adds an image to a PDF file using the Add Background to PDF step.

  1. Create a new Flow.
  2. Expand the Data > PDF steps and select the Add Background Image to PDF step to the workspace.
  3. With the step selected. In the Properties panel, define the Image and PDF Document inputs.
    For this example, these inputs are set to constant values.
  4. Create and add a Form step.
  5. In the Form Designers Toolbox tab, search for the Document Viewer control. 
  6. In the Properties panel for the control, under the InputType header, select the File Data.
  7. Name the input field using Data Name in the Properties panel. MyPDF is used for the Data Name input.
  8. Add a Button to the Form and close the Form Designer.
  9. Map the Pdf Document Result to the MyPDF field on the Form. 
  10. Connect the Form to the End step.
  11. Debug the Flow. The background image will be applied to the PDF files when viewed through the Document Viewer.

Related Information

Forum Posts:
Add A Image To A PDF Within A Flow
Merge Multiple PDFs
How To Turn A Form Into A PDF?