How to programmatically change the page from Portrait to Landscape


https://www.nevron.com/Forum/Topic13182.aspx
Print Topic | Close Window

By Ashley Davy - 3 Years Ago
I have looked in the help file and I found the property for PageOrientation but I cannot seem to find how to apply it code.

Thanks,
Ashley
By Nevron Support - 3 Years Ago
Hi Ashley,

Please take a look at the following documentation topic:
NOV Diagram Pages

The "Setting Page Size" code example demonstrates how to set page size. To switch the page orientation just swap the width and height.
By Ashley Davy - 3 Years Ago
Thank You.  I would have never figured that out.