Question
3
Replies
200
Views
Posted: April 1, 2019
Last activity: May 25, 2019
Closed
What are the options in Pega to generate styled PDF's
We are using pega 8.2 and looking for generating a nice PDF file. We need to retain the styling of the section.
Anybody knows the downsize of using Eform.
Thanks,
Pravin
***Edited by Moderator Marissa to update platform capability tags****
You can create one Rule-Obj-HTML rule and define the styles in it between <style></style> tags. On any HTML rule used to generate PDF's first include that HTML file.
You can also add inline style to a smart layout section. Include the section into a HTML. Use the Property-Set-HTML or Property-Set-Stream method and pass the above HTML rule. Use “HTMLToPDF” OOTB activity that forms the pdf data.