function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ayesha.ax926ayesha.ax926 

Attention required

Hi.. I need one help regarding visualforce page...I m generating one pdf with the help of this..and every data is comong correct..but there is extra page and i need to remove that..can u plz help me in removing that extra page from VF page.....

 

thnx and regards..

Bhawani SharmaBhawani Sharma

Add this on the page after <apex:page component:

<head>
<style type="text/css">
@page
{
size:landscape;
}
</style>
</head>