Rotate a Page


  • I need to rotate a page in an existing XPS document. Rotation with 90, 180 and 270 degrees is all I need.


    Trying and searching has not led to any promising approach, so I would really appreciate some help on this one.




    Tuesday, May 13, 2008 1:30 PM


  • The Microsoft viewers don't support page rotation.


    If you're printing the document, then the PageOrientation keyword in PrintSchema can be used to control how the XPS FixedPage is mapped to the physical media.


    If you want to manipulate the document content to rotate a page, you can add a canvas element with a RenderTransform and modify the FixedPage width and height (see 3.4 of the spec).


    Tuesday, May 13, 2008 11:29 PM