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…...seems that I should rotate annotations, too. So, you can close this...