Download visualforce as pdf landscape






















So your code above would need to be:. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 5 years ago. Active 2 years, 5 months ago. Viewed 6k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Saroj Bera Saroj Bera If the fix worked, please mark it as answer so others can benefit. Delphine Delphine 8 8 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. I had some difficulty recalling exactly how to build that logic and thought it would make sense to post it on InteractiveTies. As I began thinking about how to demonstrate the logic I thought it made more sense to create a simple template for other developers to use as they consider building out Visualforce pages that render as PDF.

You may download the file here. The content of the CSS file is as follows:. We need to create the static resource in Salesforce before we create our Visualforce page. Upload the file and provide these additional details:.

The Visualforce page code:. Greg Hacic. I've been working with Salesforce since



0コメント

  • 1000 / 1000