This project has moved and is read-only. For the latest updates, please go here.

Landscape or portrait orientation in open xml document

Dec 2, 2013 at 1:31 PM
Please, explain how can i change orientation of document programmatically using C#?
Dec 3, 2013 at 8:51 AM
If your question refer to this library, you could define the style attribute "page-orientation" on your body tag.
<body style="page-orientation:landscape">
You could have also search the forum for existing question and find this thread:
I contains also some OpenXml code from StackOverflow (or just look at the code source).