Rotating a single page

104 views
Skip to first unread message

Matt Parizeau

unread,
Jul 7, 2014, 8:40:48 PM7/7/14
to pdfnet-w...@googlegroups.com
Q:

Is it possible to rotate just a single page at a time with WebViewer?

A:

This isn't supported by default in WebViewer. To be able to implement it yourself you would have to use Document's LoadCanvasAsync function to be able to position the pages exactly as you want. However that comes with its own complications because you would not have annotations built in by default. If you want to persist the fact that a page is rotated you would probably want to create a custom annotation to save/load from xfdf.

Matt Parizeau

unread,
Aug 21, 2014, 6:49:59 PM8/21/14
to pdfnet-w...@googlegroups.com
This is now supported in WebViewer 1.8 by passing a page number to the rotation functions. For example here is the new documentation for the RotateClockwise function (http://www.pdftron.com/webviewer/demo/lib/html5/doc/symbols/CoreControls.DocumentViewer.html#rotateClockwise)
Reply all
Reply to author
Forward
0 new messages