Is it possible to add a page break?

Nov 7, 2011 at 2:47 PM

 

 

 Hi again,

 

is it possible to add a page break to jump to the next page?

 

Thanks.

Regards.

Developer
Nov 7, 2011 at 2:54 PM
Edited Nov 7, 2011 at 2:55 PM

Yes

 

Paragraph paragraphWycena1 = documentWord.InsertParagraph();
paragraphWycena1.InsertPageBreakAfterSelf();

There are also some other options regarding PageBreak. You can find them in old (a bit outdated DocX documentation).

Nov 7, 2011 at 2:57 PM

That's perfect.

Thank u!