Nevron Forum

How to programmatically change the page from Portrait to Landscape

https://www.nevron.com/Forum/Topic13182.aspx

By Ashley Davy - Tuesday, February 2, 2021

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 - Thursday, February 4, 2021

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 - Thursday, February 4, 2021

Thank You.  I would have never figured that out.