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
Prince VenkatPrince Venkat 

VF page PDF Preview

Hi All

I Have Stored a Image in Static resource and by using
<apex:image id="Logo5" value="{!$Resource.Logo5}" width="100%" />
I added in VF page

But the image should be displayed full , i marked with the yellow sketch those area also the image should occupy ,
How Can i achieve This ? , What changes should i make

Thanks In advance

User-added image
Best Answer chosen by Prince Venkat
Suraj Tripathi 47Suraj Tripathi 47
Hi Prince Venkat,
Use renderAs = "pdf" for creating pdf of the VfPage
<apex:page renderAs="pdf">
write you code here --------

Hope it will help you!