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
TLFTLF 

Text rotation in PDF rendition of a page

Hi,

 

I'm trying to rotate text within Visualforce page that is being rendered as PDF. I've managed to rotate the text in the HTML  version of the page by applying the two browser specific CSS styles that are supported by Firefox and IE below:

 

 

-webkit-transform: rotate(90deg); -moz-transform: rotate(90deg);	

 

filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);

 

But, when I add the renderAs="PDF" attribute to the page and, the text is not rotated. Has anyone ever tried this? Does anyone know of a way to get it to work?

 

charan@appscharan@apps

Can you please help me out, how to call these functions into form.

 

I am a newbie. Please help me out.

TLFTLF

Actually, these are not functions to be called. They are CSS style classes. I just added them as inline style directives on my Visualforce page using the <style> tag. I was never successful in getting text rotation in PDF rendered pages though.

Devendra@SFDCDevendra@SFDC

 

Hello TLF,

 

I have a requirement where PDF page content needs rotation style.

 

But it does not work when I use renderedAs="PDF".

 

Have you found a way to have rotation in PDF pages?

 

Please let me know the solution.

 

Thanks,

Devendra

TLFTLF

Sorry Devendra. I never got this to work and abandonded this effort a long time ago.

Devendra@SFDCDevendra@SFDC

 

Thanks TLF for your response.

 

Thanks,

Devendra

amidstcloudamidstcloud
Hi Devendra.

Did you find the solution for the same ?

Thanks
Ankit