You need to sign in to do that
Don't have an account?
SFDC_Learner
renderas pdf with landscape page is not working
Hi
I used below css to get the landscape page and it is renderedAs PDF.
<head>
<style>
@page{
size:landscape;
}
</style>
</head>
The same code worked fine long ago. Now its not working.
Can you let me know, what reasons may cause this?
Hey , the following code works for me . recently tried.
<apex:page controller="GenerateQuote" renderas="PDF" >
<head>
<style>
@page {
size:landscape;
}
</style>
</head>
<apex:form>
Your content here.
</apex:form>
</apex:page>
Thanks,
JVN
Its not working now.
can you chk once.
@SFDC_Learner: I agree with you this code was working earlier
Finally it is working in older versions < 28.0