Aspose.Words Blank Lines on Merge

Will Aspose.Words in the mail merge do the following:
field1
field2
field3
field4
If Field3 has no data it will look like this:
field1
field2
field4
If the past (2007ish) it would not and just leave a blank line.
Thanks
Rollie

Hi

Thanks for your inquiry. If you would like to delete all empty mergefields, you can try using the following code before saving:

doc.MailMerge.DeleteFields();

Please see the following link for more information.
https://reference.aspose.com/words/net/aspose.words.mailmerging/mailmerge/deletefields/
Hope this helps,
Best regards,