Page 1 of 1

GdViewer Possible Bug

Posted: Sun Jul 28, 2013 5:22 pm
by rpicilli
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

Re: GdViewer Possible Bug

Posted: Wed Jan 30, 2019 6:50 pm
by Gabriela
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.