Rotate Page and Trimbox
In my implementation i use iTextSharp, but i think that is not the problem :)
I rotate the pages of an pdf-file with the following functions:
new PdfNumber(currentDegree + rotateDegree));
This works fine. When i view the file with the acrobat reader, the pages are rotated. But when i read the boxes, i see, that all boxes are the 'old' boxes and only the Rotation-property is set. Only the 'view' is rotated, but not the Trimbox itself (so like all boxes).
How can i rotate the boxes too? How can i rotate the page include all boxes?