rotate page example

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
cramer
Posts: 32
Joined: Wed Mar 26, 2014 2:41 am

rotate page example

Post by cramer » Tue Aug 11, 2015 8:15 pm

Hello,

Could we see an actual working example of using the javascript routine to rotate a page right and left.
Using the values specified in documentation of 1, 2 and 3 do not appear to give me the correct functionality.

What I appear to get is
1 = 90 degress
2 = 270 degrees
3 = 180

and assumed 0 for no rotate but does not appear to always work...

Looking for the same functionality that the default toolbar has for the rotate right and left but from a custom toolbar.

Thanks

cramer
Posts: 32
Joined: Wed Mar 26, 2014 2:41 am

Re: rotate page example

Post by cramer » Wed Aug 12, 2015 6:43 pm

Figured it out....

function rotateLeft() { DocuViewareAPI.RotatePage('DocuVieware1', 3); }
function rotateRight() { DocuViewareAPI.RotatePage('DocuVieware1', 1); }

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest