You need to sign in to do that
Don't have an account?

How to add page break for renderAS pdf
I have developed a vf page to render it As pdf. With in the pdf i need to add page break to end the page with couple of sections and should continue next section from new page.Is there any way I could do that.
The best resource for PDF production that I've seen is this wiki article from Quinton Wall. It covers page breaks and much more besides:
http://wiki.developerforce.com/index.php/Creating_Professional_PDF_Documents_with_CSS_and_Visualforce
You can use any of the below :
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Thanks Guys. i am having issue with the alignment of fields and their values in the pdf, it looks great in vf page but when renderAs in to pdf all feild alignment gets mess up.Any idea.
Source provided by Bob is best to fix the alignment issues. You can also apply custom css using @page.
Please refer : http://wiki.developerforce.com/index.php/Creating_Professional_PDF_Documents_with_CSS_and_Visualforce
Thanks
Ankit Arora
Blog | Facebook | Blog Page