unlink_fields method
unlink_fields()
Unlinks fields in the whole document.
def unlink_fields(self):
...
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 Range.unlink_fields().
Examples
Shows how to unlink all fields in the document.
doc = aw.Document(file_name=MY_DIR + 'Linked fields.docx')
doc.unlink_fields()
See Also
- module aspose.words
- class Document