public void RemoveSmartTagsFromCompositeNode()
{
//ExStart
//ExFor:CompositeNode.RemoveSmartTags
//ExSummary: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();
//ExEnd
}