SdtType
StructuredDocumentTag.SdtType property
Bunun türünü alırYapılandırılmış belge etiketi .
public SdtType SdtType { get; }
Örnekler
Yapılandırılmış belge etiketi türünün nasıl alınacağını gösterir.
Document doc = new Document(MyDir + "Structured document tags.docx");
List<StructuredDocumentTag> tags = doc.GetChildNodes(NodeType.StructuredDocumentTag, true)
.OfType<StructuredDocumentTag>().ToList();
Assert.AreEqual(SdtType.RepeatingSection, tags[0].SdtType);
Assert.AreEqual(SdtType.RepeatingSectionItem, tags[1].SdtType);
Assert.AreEqual(SdtType.RichText, tags[2].SdtType);
Ayrıca bakınız
- enum SdtType
- class StructuredDocumentTag
- ad alanı Aspose.Words.Markup
- toplantı Aspose.Words