MailMergeDeleteFields Method |
Namespace: Aspose.Words.MailMerging
This method removes MERGEFIELD and NEXT fields from the document.
This method could be useful if your mail merge operation does not always need to populate all fields in the document. Use this method to remove all remaining mail merge fields.
doc.MailMerge.DeleteFields();