Removing Paragraphs with DocumentBuilder

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!

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

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.