I am using Novacode DocX in C#. Using method InsertSectionPageBreak(). But it does not save the parameters of the default page. For example page should be in landscape format. When using InsertSectionPageBreak() the format changes to the book. I need that each table has been on every page with landscape format.
using (DocX doc = DocX.Create(fileName))
{
doc.PageLayout.Orientation = Orientation.Landscape;
var table = doc.AddTable(12, 2);
doc.InsertTable(table);
doc.InsertSectionPageBreak();
}