visualforce page as pdf

We can deliver a visualforce page as pdf using renderAs attribute in page component of the visaulforce page. In the following example the page is rebdered as pdf that shows 10 account records in a table.

Visualforce page Controller

2 comments:

  1. Nice one easy to understand.This is basic example.
    Pls add some more complex scenarios realted to Generate PDF.

    ReplyDelete
    Replies
    1. sure vishnu, going forward i will post more complex.. :-)

      Delete