SdtAppearance
SdtAppearance enumeration
Specifies the appearance of a structured document tag.
public enum SdtAppearance
Values
Name | Value | Description |
---|---|---|
BoundingBox | 0 | Represents a structured document tag shown as a shaded rectangle or bounding box. |
Tags | 1 | Represents a structured document tag shown as start and end markers. |
Hidden | 2 | Represents a structured document tag that is not shown. |
Default | 0 | Defaults to BoundingBox. |
Examples
Shows how to show tag around content.
Document doc = new Document(MyDir + "Multi-section structured document tags.docx");
StructuredDocumentTagRangeStart tag =
doc.GetChild(NodeType.StructuredDocumentTagRangeStart, 0, true) as StructuredDocumentTagRangeStart;
if (tag.Appearance == SdtAppearance.Hidden)
tag.Appearance = SdtAppearance.Tags;
See Also
- namespace Aspose.Words.Markup
- assembly Aspose.Words