ApiExamples.ExMailMerge.RemoveEmptyParagraphs C# (CSharp) Метод

RemoveEmptyParagraphs() приватный Метод

private RemoveEmptyParagraphs ( ) : void
Результат void
        public void RemoveEmptyParagraphs()
        {
            Document doc = new Document();
            //ExStart
            //ExFor:MailMerge.CleanupOptions
            //ExFor:MailMergeCleanupOptions
            //ExId:MailMergeRemoveEmptyParagraphs
            //ExSummary:Shows how to make sure empty paragraphs that result from merging fields with no data are removed from the document.
            doc.MailMerge.CleanupOptions = MailMergeCleanupOptions.RemoveEmptyParagraphs;
            //ExEnd
        }