Rotate a wxpdfdoc page

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

Rotate a wxpdfdoc page

Postby 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: 828
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Rotate a wxpdfdoc page

Postby 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: 202
Joined: Wed Jan 20, 2010 1:15 pm

Re: Rotate a wxpdfdoc page

Postby 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: 828
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Rotate a wxpdfdoc page

Postby 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


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 53 guests