Hello,
I try rotate PDF file page and then flatten page rotation. Rotation works well, but flattering result is invalid.
Please look at the source PDF file I attached. My test code is below.
Mikhael
A4 with border.pd…...MediaBox = new Aspose.Pdf.Rectangle(currentMediaBox...the contents Matrix matrix = new Matrix(1, 0, 0, 1, 0, 0); //...