FieldUnlink Method |
Namespace: Aspose.Words.Fields
Replaces the field with its most recent result.
Some fields, such as XE (Index Entry) fields and SEQ (Sequence) fields, cannot be unlinked.
Document doc = new Document(MyDir + "Linked fields.docx"); doc.Range.Fields[1].Unlink();