API Reference
Class
OrientationOfPage
Contains methods to change print orientation for existing documents.
Inheritance
- Object
- OrientationOfPage
Methods
SetPrintOrientation(System.String fileName, DocumentFormat.OpenXml.Wordprocessing.PageOrientationValues newOrientation) #Changes the print orientation of an existing Word document.
Parameters
- fileName System.String
- Path to the document.
- newOrientation DocumentFormat.OpenXml.Wordprocessing.PageOrientationValues
- Desired page orientation.