renderAs should be set as “pdf” in apex:page tag for rendering a Visualforce Page as PDF.
Sample Code:
<apex:page renderAs="pdf">
Testing PDF
</apex:page>
Output:
For Advanced PDF rendering, please check
renderAs should be set as “pdf” in apex:page tag for rendering a Visualforce Page as PDF.
Sample Code:
<apex:page renderAs="pdf">
Testing PDF
</apex:page>
Output:
For Advanced PDF rendering, please check