DocumentUnlinkFields Method

Unlinks fields in the whole document.

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

Syntax

public void UnlinkFields()

Remarks

Replaces all the fields in the whole document with their most recent results.

To unlink fields in a specific part of the document use UnlinkFields.

Examples

Shows how to unlink all fields in the document.
Document doc = new Document(MyDir + "Linked fields.docx");

doc.UnlinkFields();

See Also