rotate PDF page and save it?

Discussions about document viewing.
Post Reply
mether
Posts: 10
Joined: Thu Dec 29, 2011 11:08 am

rotate PDF page and save it?

Post by mether » Sat May 18, 2013 11:32 pm

Can this be accomplished without PDF plug-in? I hope so!!

imgPath:=c\temp\mytest.pdf

Step 1
gdImgViewer.DisplayFromFile(imgPath)

Step 2
gdImgViewer.Rotate(ROTATE 90)

Step 3
gdImgViewer.SaveDocumentToPDF(imgPath)
->Here I get error saying GdPicture XMP/Annotations Plugin: This option has not been unlocked!

Using v9.4007 in Delphi 7, Win7 x64

thanks for help & advice!

Monte

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: rotate PDF page and save it?

Post by Loïc » Sun May 19, 2013 12:45 pm

Hello,

The proper way is demonstrated in the page manipulation demo coming with the installation package (available in C# and vb.NET).
The doc imaging SDK + the PDF plugin are required to accomplish this.

Kind regards,

Loïc

mether
Posts: 10
Joined: Thu Dec 29, 2011 11:08 am

Re: rotate PDF page and save it?

Post by mether » Sun May 19, 2013 9:34 pm

Thanks Loïc, will adjust application features accordingly!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: rotate PDF page and save it?

Post by Loïc » Sun May 19, 2013 10:01 pm

you're welcome Monte. Let me know if you need any clarification.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests