0

I am using C# to create a word document from a template (Word) that contains several bookmarks. My application generates different tables and paragraphs at specific bookmarks. However, there is a blank page created in the end of the document which I am not sure how to get rid of. I searched on the internet but could not find much help. Will appreciate if anyone could provide some guidance.

2
Contributors
1
Reply
12
Views
5 Years
Discussion Span
Last Post by lolafuertes
0

As you are not showing us the template, nor the code to fill it, I can only give you a few hints:

The blank page, exist on your template? If yes, then remove it from the template.
Is generated due to some fields being filled with blanks? If yes, don't fill those fields with blanks.
Is generated because you always insert a new page mark? I yes, insert the page mark only if really is needed.

Hope this helps

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.