Rotatation a PDF document to the left by 90, 180, 270 degree

Discussions about document viewing.
Post Reply
tfierens
Posts: 7
Joined: Wed May 12, 2010 11:28 pm

Rotatation a PDF document to the left by 90, 180, 270 degree

Post by tfierens » Wed Mar 09, 2011 1:27 pm

Hi,

While rotating to the right seems straight forward enough, I'm not sure I understand how rotating to the left works? I've tried using

GdViewer1.Rotate(RotateFlipType.Rotate90FlipX)

but this does not refresh the document in the viewer. You can only see the rotation after changing the zoommode or calling the .ReDraw()

Also when calling GdViewer1.Rotate(RotateFlipType.Rotate180FlipX), calling the .ReDraw() doesn't do the trick. It is only refelected if I change the zoom mode again.

Is there a way

1. to rotate to the left by 90, 180, 270
2. rotate from the last angle i.e. if I rotated by 90 first and then select rotate 180, it should rotate the document by 180 from the last position and not from its starting position.

Thanks.

T.

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

Re: Rotatation a PDF document to the left by 90, 180, 270 de

Post by Loïc » Wed Mar 09, 2011 6:38 pm

Hi Thierry,

I don't understand your issue. However, Flip is not supported for PDF and Metafiles.
You should use RotateFlipType.Rotate90FlipNone. Maybe this is the solution to your problem...

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests