RangeUnlinkFields Method |
Namespace: Aspose.Words
Replaces all the fields in this range with their most recent results.
To unlink fields in the whole document use UnlinkFields.
Document doc = new Document(MyDir + "Linked fields.docx"); Section newSection = (Section)doc.Sections[0].Clone(true); doc.Sections.Add(newSection); doc.Sections[1].Range.UnlinkFields();