Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Follow the below link. You can render a Visualforce page as pdf.
1.) http://www.sfdcpoint.com/salesforce/visualforce-page-render-pdf/
2.) https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_page.htm
RenderAs:
This is used with page component and renders the page in the specified format.
The following page will give output in pdf form /render as pdf.
Visualforce Page:
<apex:page standardController="Account" renderAs="pdf">
<apex:pageBlock >
<apex:outputField value="{!Account.name}"/>
<apex:outputField value="{!Account.AccountNumber}"/>
</apex:pageBlock>
</apex:page>
Follow the above link & code. It will help you.
Thanks,
Arvind Kumar