Saturday, August 11, 2018

Rendering Visualforce as PDF with Header and Footer

In my last post, I explain about how to customize the page size format of a generated pdf through Visualforce page.

In this new post, I shall illustrate how to add a header and footer to a generated pdf through CSS.

We get started by using the Visualforce template below:


Now, let's add the code for the header and footer and see the output.




Output of the header and footer in pdf

2 comments:

  1. I appreciate deeply for the kind of topics you post here. Thanks for sharing us such information that is actually helpful. Have a nice day!
    Rise Food Mall Noida Extension

    ReplyDelete