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

Orientation of Document

Apr 23, 2015 at 7:50 PM
Hello guys,

I am trying to set the orientation from vertical (default) to horizontal.

I have been reading the documentation but I cant find anything about this property.

¿Somebody knows how solve it?

Thanks.
Apr 23, 2015 at 8:12 PM
I found a way to solve it:

DocX doc = DocX.Create(FileName);
doc.PageLayout.Orientation = Novacode.Orientation.Landscape;
Marked as answer by alejandroxfx on 4/23/2015 at 12:12 PM