**Inheritance:**
java.lang.Object, java.lang.Enum < ContentDisposition > com.aspose.pdf.ContentDisposition, java.lang.Enum < ContentDisposition >, com.aspose.pdf.ContentDisposition

**All Implemented Interfaces:**
Serializable, Comparable < ContentDisposition >

```
public enum ContentDisposition extends Enum < ContentDisposition >
```

MIME protocol Content-Disposition header.

## Fields

| Field | Description |
| --- | --- |
| [Attachment](#Attachment) | Result is saved as attachment. |
| [Inline](#Inline) | Result is shown inline. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Attachment {#Attachment}
```
public static final ContentDisposition Attachment
```

Result is saved as attachment.

### Inline {#Inline}
```
public static final ContentDisposition Inline
```

Result is shown inline.

### getByValue {#getByValue-int-}
```
public static ContentDisposition getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static ContentDisposition [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
