+ Start a Discussion
Arul Bernard I 14Arul Bernard I 14 

How to render Multiple PDFs from a single Visualforce page?

NagendraNagendra (Salesforce Developers) 
Hi Arul,

You can render as many PDFs as you'd like, assuming you don't run into other limits, such as CPU time. If each row is the same height, you could render the table in two parts, say 7 columns and 6 columns. You can use the CSS page-break-after: always to effectively re-align the tables without much effort. It would look like:
<div style="page-break-after: always">
    <!-- render first 7 columns -->
    <!-- render last 6 columns -->
Hope this helps.

Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.