This project has moved. For the latest updates, please go here.

Landscape or portrait orientation in open xml document

Dec 2, 2013 at 12:31 PM
Please, explain how can i change orientation of document programmatically using C#?
Coordinator
Dec 3, 2013 at 7: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">
...
</body>
You could have also search the forum for existing question and find this thread: https://html2openxml.codeplex.com/discussions/434042.
I contains also some OpenXml code from StackOverflow (or just look at the code source).