public with sharing class PdfExampleController {
public List accList{get;set;}
public PdfExampleController (){
accList = [select id,name,type,accountnumber,annualrevenue,Rating from account limit 10];
}
}
Hello Vivek, As per our requirment ,we can reach a solution as like putting renderAs="Pdf" in the page tag. the vf p-page content will showing in pdf itself.
Reply me,if doesnt solve your requirment. or Mark it as kudos for other Benefits
public with sharing class PdfExampleController {
public List accList{get;set;}
public PdfExampleController (){
accList = [select id,name,type,accountnumber,annualrevenue,Rating from account limit 10];
}
}
Visualforce Page
Controller
Output
[If it helps, mark it as "Best Answer"]
Thanks,
Rockzz
All Answers
As per our requirment ,we can reach a solution as like putting renderAs="Pdf" in the page tag.
the vf p-page content will showing in pdf itself.
Reply me,if doesnt solve your requirment.
or Mark it as kudos for other Benefits
Thanks
Srinivas
SFDC Developer.
Visualforce Page
Controller
Output
[If it helps, mark it as "Best Answer"]
Thanks,
Rockzz