Loading...

Want the current rotation to "persist" when going to next pg

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Want the current rotation to "persist" when going to next pg

Postby jeffog123 » Mon Apr 19, 2010 11:47 pm

If a user rotates a page - say 90 to the right - I want to keep that setting as the user goes to other pages. How can I do this efficiently? I can store the "current rotation" but I don't want to have the user see the rotation "happen" when they go to another page. When I do a DisplayNextFrame followed by a Rotate90, for example, they first see the page in "normal" mode and then see it rotated.
jeffog123
 
Posts: 2
Joined: Mon Apr 19, 2010 7:26 pm

Re: Want the current rotation to "persist" when going to next pg

Postby Loïc » Wed Apr 21, 2010 11:50 am

Hi,

You can do that with multipage tiff & GIF images:

- Open the image using an Imaging Object
- Transfer the opened image from the imaging object to the GdViewer object:

Code: Select all
GdViewer1.SetNativeImage(Imaging1.GetNativeImage)


Hope this helps.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests