function readOnly(count){ }
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
<apex:page standardController="Account" renderAs="pdf" applyBodyTag="false"> <head> <style> body { font-family: 'Arial Unicode MS'; } .companyName { font: bold 30px; color: red; } </style> </head> <body> <center> <h1>New Account Name!</h1> <apex:panelGrid columns="1" width="100%"> <apex:outputText value="{!account.Name}" styleClass="companyName"/> <apex:outputText value="{!NOW()}"></apex:outputText> </apex:panelGrid> </center> </body> </apex:page>
Add below code .
Follow bellow link .
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_renderas_pdf.htm
Regards ,
Harish.R