Remove Field in Python
Contents
[
Hide
]
Aspose.Words - Remove Field
Python Code
doc = self.Document(self.dataDir + "Field.RemoveField.doc")
field = doc.getRange().getFields().get(0)
\# Calling this method completely removes the field from the document.
field.remove()
Download Running Code
Download Remove Field (Aspose.Words) from any of the below mentioned social coding sites: