RestartListsAtEachSection
MailMerge.RestartListsAtEachSection property
Gets or sets a value indicating whether lists are restarted at each section after executing of a mail merge.
public bool RestartListsAtEachSection { get; set; }
Remarks
The default value is true
.
Examples
Shows how to control whether or not list numbering is restarted at each section when mail merge is performed.
Document doc = new Document(MyDir + "Section breaks with numbering.docx");
doc.MailMerge.RestartListsAtEachSection = false;
doc.MailMerge.Execute(new string[0], new object[0]);
doc.Save(ArtifactsDir + "MailMerge.RestartListsAtEachSection.pdf");
See Also
- class MailMerge
- namespace Aspose.Words.MailMerging
- assembly Aspose.Words