SdtAppearance enumeration

SdtAppearance enumeration

Specifies the appearance of a structured document tag.

Members

NameDescription
BoundingBoxRepresents a structured document tag shown as a shaded rectangle or bounding box.
TagsRepresents a structured document tag shown as start and end markers.
HiddenRepresents a structured document tag that is not shown.
DefaultDefaults to SdtAppearance.BoundingBox.

Examples

Shows how to show tag around content.

let doc = new aw.Document(base.myDir + "Multi-section structured document tags.docx");
let tag = doc.getChild(aw.NodeType.StructuredDocumentTagRangeStart, 0, true).asStructuredDocumentTagRangeStart();

if (tag.appearance == aw.Markup.SdtAppearance.Hidden)
  tag.appearance = aw.Markup.SdtAppearance.Tags;

See Also