Contains multiple Smart Services and Functions for interacting with PDF Documents.
Can the create PDF content feature be used to insert images into a new PDF file? We have a requirement to include images in a PDF file dynamically.
Yes, this smart service supports insertion of png, jpg, bmp and gif documents into new PDFs.
The contents of the new PDF is configured by passing in PdfContent object to the smart service. In this object, developers can define PdfSection, and within those an array of PdfText and/or PdfImage can be passed as components. Documents included in the PdfImage instances included in a section's contents will be inserted into that section upon generation.
For more information on the configuration options for PdfContents, you can review the Data Types section of the documentation included in the plugin download.
© 2020 Appian. All rights reserved.