MailMergeOptions.NumberedListRestart Property
Sets the behavior of numbered lists when the mail merge operation is performed.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
MailMergeNumberingRestart | One of the MailMergeNumberingRestart enumeration values. |
Available values:
Name | Description |
---|---|
None | Continue the list numbering unless otherwise specified in the list settings (e.g, when a specific numbered list is manually restarted). |
Always | Restart a numbered list for each record. |
AlwaysExceptParagraphStyles | Restart the numbered list for each record, but ignore lists that are created by applying paragraph styles with numbering (e.g., “Chapter 1”, “Chapter 2”, etc.). |
Remarks
To restart a numbered list for each record in a mail merge document, set this property to the MailMergeNumberingRestart.Always or MailMergeNumberingRestart.AlwaysExceptParagraphStyles enumeration value.