CompositeNodeRemoveSmartTags Method
Removes all SmartTag descendant nodes of the current node.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.11
Syntax
public void RemoveSmartTags()
Remarks
This method does not remove the content of the smart tags.
Examples
Shows how to remove all smart tags from a document.
Document doc = new Document(MyDir + "Document.doc");
doc.RemoveSmartTags();
Examples
Removes all smart tags from descendant nodes of the composite node.
Document doc = new Document(MyDir + "Document.doc");

// Remove smart tags from the first paragraph in the document.
doc.FirstSection.Body.FirstParagraph.RemoveSmartTags();
See Also