Hi
Thanks for your request. I think that you can set SectionStart = SectionStart.NewPage. For example see the following code:
//Open documents
Document dstDoc = new Document(@"Test043\in1.doc");
Document srcDoc = new Document(@"Test043\in2.doc");
//Loop through all section in source document
foreach (Section sect in srcDoc.Sections)
{
//Import section
Section newSect = (Section)dstDoc.ImportNode(sect, true, ImportFormatMode.KeepSourceFormatting);
if (sect.Equals(srcDoc.FirstSection))
{
//If section is first one in the source document
//then set sectiton to start from next page
newSect.PageSetup.SectionStart = SectionStart.NewPage;
}
//Add section to destination document
dstDoc.Sections.Add(newSect);
}
//Save document
dstDoc.Save(@"Test043\out.doc");
Hope this helps.
Best regards.
Alexey Noskov
Developer/Technical Support
Aspose Auckland Team