Free Support Forum - aspose.com

TableStart TableEnd resulting in newline

Hi,

I am doing a ExecuteWithRegions. The data merges in great. However, there is a new line for every TableStart and TableEnd. I have tried setting RemoveEmptyParagraphs to true and it does not help either.

For example, I have:
TableStart:1


TableEnd:1

The result I want is:

name1
org1
name2
org2


The result I get is:



name1

org1



name2

org2




I understand I could have done below:
TableStart:1

TableEnd:1

However, is actually a table so I cannot get it in the same line.

Hi

Thanks for your request. RemoveEmptyParagraphs option should help in this case. If it does not help, the you probably use old version of Aspose.Words or there is something in your template. So please try using the latest version of Aspose.Words. You can download it from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

And also attach your template here for testing. We will check it and provide you more information.

Best regards,