
**Inheritance:**
java.lang.Object
```
public class SdtAppearance
```

Specifies the appearance of a structured document tag.

 **Examples:** 

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);
 
```
## Fields

| Field | Description |
| --- | --- |
| [BOUNDING_BOX](#BOUNDING-BOX) | Represents a structured document tag shown as a shaded rectangle or bounding box. |
| [DEFAULT](#DEFAULT) | Defaults to [BOUNDING\_BOX](../../com.aspose.words/sdtappearance/\#BOUNDING-BOX). |
| [HIDDEN](#HIDDEN) | Represents a structured document tag that is not shown. |
| [TAGS](#TAGS) | Represents a structured document tag shown as start and end markers. |
| [length](#length) |  |
## Methods

| Method | Description |
| --- | --- |
| [fromName(String sdtAppearanceName)](#fromName-java.lang.String) |  |
| [getName(int sdtAppearance)](#getName-int) |  |
| [getValues()](#getValues) |  |
| [toString(int sdtAppearance)](#toString-int) |  |
### BOUNDING_BOX {#BOUNDING-BOX}
```
public static int BOUNDING_BOX
```


Represents a structured document tag shown as a shaded rectangle or bounding box.

### DEFAULT {#DEFAULT}
```
public static int DEFAULT
```


Defaults to [BOUNDING\_BOX](../../com.aspose.words/sdtappearance/\#BOUNDING-BOX).

### HIDDEN {#HIDDEN}
```
public static int HIDDEN
```


Represents a structured document tag that is not shown.

### TAGS {#TAGS}
```
public static int TAGS
```


Represents a structured document tag shown as start and end markers.

### length {#length}
```
public static int length
```


### fromName(String sdtAppearanceName) {#fromName-java.lang.String}
```
public static int fromName(String sdtAppearanceName)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| sdtAppearanceName | java.lang.String |  |

**Returns:**
int
### getName(int sdtAppearance) {#getName-int}
```
public static String getName(int sdtAppearance)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| sdtAppearance | int |  |

**Returns:**
java.lang.String
### getValues() {#getValues}
```
public static int[] getValues()
```




**Returns:**
int[]
### toString(int sdtAppearance) {#toString-int}
```
public static String toString(int sdtAppearance)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| sdtAppearance | int |  |

**Returns:**
java.lang.String
