Removing Empty Paragraphs

Note
This feature is supported by version 18.10. or greater.
Note
The code uses some of the objects defined in The Business Layer.

GroupDocs.Assembly for .NET API supports the removal of paragraphs becoming empty after template syntax tags are removed or replaced with empty values. A new member RemoveEmptyParagraphs is added to DocumentAssemblyOptions. When this new option is applied to DocumentAssembler options through DocumentAssembler.Options, the engine additionally removes empty paragraphs.

Removing Empty Paragraphs in Word Processing Document

Download

Removing Empty Paragraphs in Presentation Document

Download

Removing Empty Paragraphs in Email Document

Download