PDF Page Rotation

Hi
I want to add a “Table” object on an exisiting PDF Document.
When i open the document, it has the correct roation. When i ask the API for Page.Rotate i get the Rotation of 270 …
That means, if i add the table on the PDF document, the table will be rotated for 270 degrees.

The pdf itself seems to be in the correct rotaion. How can i change the detected rotation? When is set Page.Rotate to None, then the table will be rendered correctly, but the document iself is rotated…

any ideas?
Thanks in Advance!

joerg

@joerg.bieri,

You can get or set Rotate property of the PDF page as follows:
C#

// set orientation of the first page
document.Pages[1].Rotate = Rotation.on90; 

Kindly send us your source PDF and code. We will investigate your scenario in our environment and share our findings with you.