Aspose::Words::Markup::IStructuredDocumentTag::set_Appearance method
IStructuredDocumentTag::set_Appearance method
Sets the appearance of the structured document tag.
virtual void Aspose::Words::Markup::IStructuredDocumentTag::set_Appearance(Aspose::Words::Markup::SdtAppearance value)
Examples
Shows how to show tag around content.
auto doc = System::MakeObject<Aspose::Words::Document>(System::String(get_MyDir() + u"Multi-section structured document tags.docx"));
auto tag = System::AsCast<Aspose::Words::Markup::StructuredDocumentTagRangeStart>(doc->GetChild(NodeType::StructuredDocumentTagRangeStart, 0, true));
if (tag->get_Appearance() == SdtAppearance::Hidden)
{
tag->set_Appearance(SdtAppearance::Tags);
}
See Also
- Interface IStructuredDocumentTag
- Namespace Aspose::Words::Markup
- Library Aspose.Words for C++