Multiple Sections On Single Page

Hi SupportTeam,

Requirement :

  I need to add multiple sections on a single page.
i am doing this by setting pagesetup property to continues like below.
    Document.LastSection.PageSetup.SectionStart = SectionStart.Continuous;

This is adding new paragraphs below previous section.

When i try to retrieve ChildNodes by Document.GetChildNodes(NodeType.Section, true);
I am getting single section irrespective of number of sections i added. Reason is newly added sections are added as paragraphs to existing section.

Question : How do i get sections ?

Note : If we append document using “ParentDocument.Append(Document);”, it creates new page and adds section. but that is not my requirement. I want to add new sections in same file rather than creating them in each file. When i try to retrieve ChildNodes by Document.GetChildNodes(NodeType.Section, true); I should get all sections.

@crmohan74

Thanks for your inquiry. Please ZIP and attach your input Word documents and expected output document here for our reference. We will investigate the issue on our side and provide you with more information.