Orientation of Document

Apr 23, 2015 at 6: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?

Apr 23, 2015 at 7: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