Docio Document starts from the second page

Hi
I am creating a word document from a template. After mail merge and insertions of paragraph and chart and table when the output file is generated, the mail merge happens on the first page while the rest of the body starts from the second page.
What should i do about this? Any help would be appriciated.


Thank You


1 Reply

MR Manikandan Ravichandran Syncfusion Team September 27, 2021 11:33 AM UTC

Hi Shubham,

Thank you contacting Syncfusion support.

From the given details, we suspect that your requirement is to inserting a paragraph and chart and table in the second page of the Word document.

The Word document is a flow document in which contents will not be preserved page by page; instead, the contents will be preserved sequentially section by section. Each section may extend to various pages based on its contents like table, text, images etc.

So, we can create new section with desire section properties and then add paragraphs, tables, charts and images. Please refer the below link to know more about sections in DocIO.
https://help.syncfusion.com/file-formats/docio/working-with-sections#creating-document-with-different-page-settings

If we misunderstood any of your requirement, then kindly provide us complete sample or code example along with input word document and expected result  which will helpful to provide you the appropriate solution at the earliest

Please let us know if you have any other queries.

Regards,
Manikandan Ravichandran 


Loader.
Up arrow icon