I want to convert vf page to a pdf. How to achieve it?



I want to convert vf page to a pdf. How to achieve it?..

Answer / Tarkeshwar Kumar

To convert a Visualforce (VF) page to a PDF, you can use the Apache POI library in your Apex code or a third-party library like PDF417. You will need to render your VF page as a PDF and then download it or send it as an attachment.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

We have a time based workflow and there is action scheduled to be executed. If we deactivate the workflow, scheduled actions will be removed from queue or not?

1 Answers  


Difference between with sharing and without sharing in salesforce?

1 Answers  


Compare javascript remoting and <apex:actionfunction> ?

1 Answers  


How can you lock record using soql so that it cannot be modified by other user?

1 Answers  


What are the Loops in salesforce?

1 Answers  


How u will do Mass Insert through trigger?

1 Answers   American Express,


What are action support, action function and action poller used for?

1 Answers  


How will you communicate between two components?

1 Answers  


What are the different api's in salesforce ?

1 Answers  


Which parts of lightning components are server-side and which are client-side ? : salesforce lightning component

1 Answers  


What is the use of access="global”?

1 Answers  


What are the types of email templates available in salesforce.com?

1 Answers  


Categories