GdViewer Possible Bug

Discussions about document viewing.
Post Reply
rpicilli
Posts: 50
Joined: Fri Nov 25, 2011 12:39 pm

GdViewer Possible Bug

Post by rpicilli » Sun Jul 28, 2013 5:22 pm

Hi Loïc, good morning.

Let begin with the Subject, Maybe this is a mylsef bug not a GdViewer Bug.

Thats saide, I'm trying to do:

Allow the user to preview some documents. In this case I'm GdViewer component. Some of these documents has some Annotation on it. If I load the GdViewer using the LoadFromFile method, and, lets say, rotate this document using the GdViewer.Rotate(xxx) method all is fine.

If I load the GdViewer with the method LoadFromGdPicture (I need to save the document to reflect the rotational property), and if I rotate the document using the GdPictureImaging component, what is described in the documentation, GdPictureImaging.Rotate(ImgIdx, 90) and after GdViewer.Redraw, some of the anottation do not rotate?

If you need I can send the code, just in case.

Any help will be great.

Of course if there will be another way to save the modification with the GdViewer not only the annotation but in this specific case the rotation of the document, please let me know.

Regards

Rogerio

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: GdViewer Possible Bug

Post by Gabriela » Wed Jan 30, 2019 6:50 pm

Hello,

You can find here the updated documentation for the Rotate() method:
https://www.gdpicture.com/guides/gdpicture/web ... otate.html
Do not confuse it with the RotateView() method:
https://www.gdpicture.com/guides/gdpicture/web ... eView.html
Be aware of this: The page is only rotated in the control, not in the document itself. Files are always handled as read-only in the GdViewer control.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest