How do I rotate pages in PDF to image?

6 views
Skip to first unread message

Support

unread,
Sep 24, 2009, 6:44:26 PM9/24/09
to PDF2Image
Q: Is it possible to auto rotate PDF pages by their orientation in
mixed documents. Or do I have to define that manually for each page
and loop over each page?

-----------
A: You could use "-r 90" to rotate all pages by a certain number of
degrees.

If you need finer, more programmatic control you could use PDFNet SDK
(http://www.pdftron.com/pdfnet) instead. As a starting point you may
want to take a look at PDFDraw sample project (http://www.pdftron.com/
pdfnet/samplecode.html#PDFDraw). You could use page.GetPageWidth/Height
() to obtain page dimensions for each page, and page.SetRotation() to
rotate pages.
Reply all
Reply to author
Forward
0 new messages