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

Navigation and Splitting

Nov 16, 2011 at 11:27 AM

Hello, can I change in DocX the Navigation from panel to landscapeformat ? When yes, how? And can crack the document in 3 splittings? When yes how?

Nov 21, 2011 at 9:58 AM

Can someone please answer? Or I asked not polite enough? First time I need only a yes or no, please answer.

kind regards


Nov 21, 2011 at 10:16 AM

Hi, pbwebdirekt. Can you present the example, I don't understand what is "Navigation"...

Nov 21, 2011 at 10:48 AM

Hi, I sorry don´t know the realy english word, but normal the document is 21 cm x 29.7 cm but I want to change that to 29.7 cm x 21 cm, Landscape.

Nov 21, 2011 at 10:50 AM



I hope this is what you mean? It was 7 discussions below..


// Create a new document.
using (DocX document = DocX.Create(@"C:\Users\Cathal\Desktop\Hello.docx"))
// Set this documents orientation to landscape and save.
document.PageLayout.Orientation = Orientation.Landscape;

// Set this documents orientation to portrait and save.
document.PageLayout.Orientation = Orientation.Portrait;

Nov 21, 2011 at 2:04 PM

yes that helps realy,

thank you.

Nov 21, 2011 at 3:28 PM
Hi pdwebdirekt,

sorry about the delay. At the moment you cannot split the document in columns using DocX.
You can change the document into landscape mode as MadBoy suggested.

If you need even more control, you can download change-set (71211 or newer) and play with the new PageWidth and PageHeight properties.

Kind regards,

P.S. Thanks MadBoy and DragonFire for getting there before me. I am having another crazy week.