Removing Paragraphs with DocumentBuilder


#1

Is it currently possible to remove blank paragraphs with the DocumentBuilder? When I’m dyanmically removing mergefields, I have blank paragraphs that I want to remove. Any help is appreciated. Thanks!


#2

I figured out a workaround to this problem, by simply waiting until runtime to add the mergefields that only had data.


#3

We have deleting paragraph from DocumentBuilder planned, but it is not yet available.

Good to hear you gound a solution.

By the way, if you use mail merge to work with merge fields (not DocumentBuilder), then you could explore the MailMerge.RemoveEmptyParagraphs property.