is it possible to set the text or image orientation?(PDF)

I am using the SyncFusion PDF to generate PDF document, the requirement needs me to set different orientation of text and picture, mabye 30 degree or 60 degree. but when i call DrawString to draw a string or call DrawImage to draw an image on the pdf document, it is only possible to draw the text or picture in a rect, it is not possible to set the orientation of the rect. so could you please help me about this?

1 Reply

AG Angappan G Syncfusion Team August 18, 2010 01:30 PM UTC

Hi Steven,

Thank you for your interest in Essential PDF.

We can set the orientation for text and image by using the “RotateTransform” and “TranslateTransform” methods of the PdfGraphics class, Please refer the sample for more details.

Please try this and let us know if you have any queries.

Regards,
Angappan.




96030_2157311b.zip

Loader.
Up arrow icon