We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Autorotate option in PDF

Hi,


I opened the PDF in Adobe Acrobat 9 pro and rotated the pages by clicking Document->Rotate
pages->Direction->180 degree(now 6 is displayed as 9 in the document).

I passed this pdf to pdfviewer class and added the below property.

Viewer.Autorotatemode=Autorotatemode.anticlockwise.

But in output pages does not rotated anticlockwise.I have tried clockwise option also.Nothing happens in output.

Can you please help me to rotate the pages correctly.I want to rotate back to original(that is 6 should be displayed as 6 itself not 9)

Thanks,
Vijayashree R


Hi Vijayashree,


Thanks for contacting support.

You can set Page.Rotate property in order to change rotation of a particular page inside PDF, using Aspose.Pdf for .NET. Please follow the example give over “Get Page Dimension” article in the API documentation. In case of any further assistance, please feel free to contact us.


Best Regards,