function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sgoremasgorema 

Page size when rendering as PDF

Hi everyone - I am building a visualforce page that will be rendered as a pdf - it is our quote. I will need to render this in both Letter page size and A4 page size. Where do I specify this setting?
Ron HessRon Hess
Advanced formatting for PDF can be facilitated through CSS in your visualforce page.

Specifically our PDF generation technology is aware of the CSS page module.
Refer to the W3C paged Module for details:

http://www.w3.org/TR/css3-page/


put CSS on your Visualforce page as you would with another web page.

mtbclimbermtbclimber
Here is an example of some paged media CSS for pages2pdf in action:

http://wiki.apexdevnet.com/index.php/Visualforce_CaseHistoryTimeline

Share and Enjoy!


Message Edited by mtbclimber on 06-27-2008 06:12 AM