StructuredDocumentTagSdtType Property |
Namespace: Aspose.Words.Markup
Document doc = new Document(MyDir + "Structured document tags.docx"); NodeCollection sdTags = doc.GetChildNodes(NodeType.StructuredDocumentTag, true); foreach (StructuredDocumentTag sdTag in sdTags.OfType<StructuredDocumentTag>()) { Console.WriteLine("Type of this SDT is: {0}", sdTag.SdtType); }