appearance property
IStructuredDocumentTag.appearance property
Gets or sets the appearance of the structured document tag.
@property
def appearance(self) -> aspose.words.markup.SdtAppearance:
...
@appearance.setter
def appearance(self, value: aspose.words.markup.SdtAppearance):
...
Examples
Shows how to show tag around content.
doc = aw.Document(file_name=MY_DIR + 'Multi-section structured document tags.docx')
tag = doc.get_child(aw.NodeType.STRUCTURED_DOCUMENT_TAG_RANGE_START, 0, True).as_structured_document_tag_range_start()
if tag.appearance == aw.markup.SdtAppearance.HIDDEN:
tag.appearance = aw.markup.SdtAppearance.TAGS
See Also
- module aspose.words.markup
- class IStructuredDocumentTag