RangeUnlinkFields Method

Unlinks fields in this range.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.10.0

ExpandedSyntax

public void UnlinkFields()

ExpandedRemarks

Replaces all the fields in this range with their most recent results.

To unlink fields in the whole document use UnlinkFields.

ExpandedExamples

Shows how to unlink all fields in range.
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();

ExpandedSee Also