MailMerge Properties

The MailMerge type exposes the following members.

Properties

  NameDescription
Public propertyCode exampleCleanupOptions
Gets or sets a set of flags that specify what items should be removed during mail merge.
Public propertyCode exampleCleanupParagraphsWithPunctuationMarks
Gets or sets a value indicating whether paragraphs with punctuation marks are considered as empty and should be removed if the RemoveEmptyParagraphs option is specified.
Public propertyCode exampleFieldMergingCallback
Occurs during mail merge when a mail merge field is encountered in the document.
Public propertyCode exampleMailMergeCallback
Allows to handle particular events during mail merge.
Public propertyCode exampleMappedDataFields
Returns a collection that represents mapped data fields for the mail merge operation.
Public propertyCode exampleMergeDuplicateRegions
Gets or sets a value indicating whether all of the document mail merge regions with the name of a data source should be merged while executing of a mail merge with regions against the data source or just the first one.
Public propertyCode exampleMergeWholeDocument
Gets or sets a value indicating whether fields in whole document is updated while executing of a mail merge with regions.
Public propertyCode examplePreserveUnusedTags
Gets or sets a value indicating whether the unused "mustache" tags should be preserved.
Public propertyCode exampleRegionEndTag
Gets or sets a mail merge region end tag.
Public propertyCode exampleRegionStartTag
Gets or sets a mail merge region start tag.
Public propertyRetainFirstSectionStart
Gets or sets a value indicating whether the SectionStart of the first document section and its copies for subsequent data source rows are retained during mail merge or updated according to MS Word behaviour.
Public propertyCode exampleTrimWhitespaces
Gets or sets a value indicating whether trailing and leading whitespaces are trimmed from mail merge values.
Public propertyCode exampleUnconditionalMergeFieldsAndRegions
Gets or sets a value indicating whether merge fields and merge regions are merged regardless of the parent IF field's condition.
Public propertyCode exampleUseNonMergeFields
When true, specifies that in addition to MERGEFIELD fields, mail merge is performed into some other types of fields and also into "{{fieldName}}" tags.
Public propertyCode exampleUseWholeParagraphAsRegion
Gets or sets a value indicating whether whole paragraph with TableStart or TableEnd field or particular range between TableStart and TableEnd fields should be included into mail merge region.

See Also