Rotate a wxpdfdoc page

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 215
Joined: Wed Jan 20, 2010 1:15 pm

Rotate a wxpdfdoc page

Post by dkaip » Thu Aug 23, 2018 11:17 am

We find in sites online services to rotate a page in a pdf.
With wxPDFDoc lib there is an easy way to rotate a page from pdf?
Thank you
Jim

utelle
Moderator
Moderator
Posts: 889
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Rotate a wxpdfdoc page

Post by utelle » Thu Aug 23, 2018 2:59 pm

dkaip wrote:We find in sites online services to rotate a page in a pdf.
With wxPDFDoc lib there is an easy way to rotate a page from pdf?
Why don't you study the samples coming with wxPdfDocument? Most likely you would find answers to many of your questions.
  • Sample tutorial1 shows how to add pages of different sizes and different orientation (portrait vs landscape) to a PDF document.
  • Sample templates1 shows how to add a rotated template to the page contents, using method Rotate.
Please keep in mind that wxPdfDocument is mainly a tool for generating PDF documents, not for manipulating existing PDF documents. If you want to manipulate the contents of existing PDF files there are other tools out there better suited for such tasks.

Regards,

Ulrich

dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 215
Joined: Wed Jan 20, 2010 1:15 pm

Re: Rotate a wxpdfdoc page

Post by dkaip » Mon Aug 27, 2018 9:19 pm

Hello, i am looking is for editing with easy way, without add page, making a new pdf.
Thank you for your answer.
Jim

utelle
Moderator
Moderator
Posts: 889
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Rotate a wxpdfdoc page

Post by utelle » Tue Aug 28, 2018 8:13 am

dkaip wrote:Hello, i am looking is for editing with easy way, without add page, making a new pdf.
I'd like to emphasize again that wxPdfDocument primarily serves the purpose to generate new PDF documents. It is not a tool for manipulating existing PDF documents, although simple tasks can be fulfilled with the template mechanism of wxPdfDocument.

For manipulating existing PDF documents you should find better suited tools.

Regards,

Ulrich

Post Reply