java.lang.Object
com.aspose.words.SdtAppearance
public class SdtAppearance
- extends java.lang.Object
Utility class containing constants.
Specifies the appearance of a structured document tag.
Example:
Shows how to show tag around content.
Document doc = new Document(getMyDir() + "Multi-section structured document tags.docx");
StructuredDocumentTagRangeStart tag = (StructuredDocumentTagRangeStart) doc.getChild(NodeType.STRUCTURED_DOCUMENT_TAG_RANGE_START, 0, true);
if (tag.getAppearance() == SdtAppearance.HIDDEN)
tag.setAppearance(SdtAppearance.TAGS);
|
Field Summary |
static final int | BOUNDING_BOX = 0 | |
|
Represents a structured document tag shown as a shaded rectangle or bounding box.
|
static final int | TAGS = 1 | |
|
Represents a structured document tag shown as start and end markers.
|
static final int | HIDDEN = 2 | |
|
Represents a structured document tag that is not shown.
|
static final int | DEFAULT = 0 | |
|
Defaults to BOUNDING_BOX.
|
BOUNDING_BOX = 0 | |
public static final int BOUNDING_BOX |
-
Represents a structured document tag shown as a shaded rectangle or bounding box.
TAGS = 1 | |
public static final int TAGS |
-
Represents a structured document tag shown as start and end markers.
HIDDEN = 2 | |
public static final int HIDDEN |
-
Represents a structured document tag that is not shown.
DEFAULT = 0 | |
public static final int DEFAULT |
-
Defaults to BOUNDING_BOX.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.