GenericError result when attempting to SwapPages()

Discussions about PDF management.
Post Reply
User avatar
Fabio
Posts: 173
Joined: Thu Aug 27, 2020 9:57 am

Re: GenericError result when attempting to SwapPages()

Post by Fabio » Fri Nov 19, 2021 5:30 pm

Hello Fletch,

I just tested the method and everything went fine.
I used the code snippet in our documentation here: https://www.gdpicture.com/guides/gdpict ... Pages.html

If you got an issue with the code snippet, could you try to install the new version of GdPicture and test it again, please?

With best,
Fabio

User avatar
Fabio
Posts: 173
Joined: Thu Aug 27, 2020 9:57 am

Re: GenericError result when attempting to SwapPages()

Post by Fabio » Wed Nov 24, 2021 4:22 pm

Hello,

I'm not sure to understand, are we talking about the GdPicturePDF or GdViewer class here?
The best practice is to load your file within a GdPicturePDF object and use it for the SwapPages method or PDF manipulations.
Once the swap has been done, you can use the DisplayFromFile method with the GdViewer object to display the modified document.

With best,
fabio

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest