
**Inheritance:**
java.lang.Object
```
public class PdfAttachmentsEmbeddingMode
```

Specifies how attachments are embedded to PDF document.
## Fields

| Field | Description |
| --- | --- |
| [ANNOTATIONS](#ANNOTATIONS) | Attachments are embedded as annotations with location on page. |
| [DOCUMENT_EMBEDDED_FILES](#DOCUMENT-EMBEDDED-FILES) | Attachments are embedded as the document embedded files without annotations. |
| [NONE](#NONE) | Attachments are not embedded. |
| [length](#length) |  |
## Methods

| Method | Description |
| --- | --- |
| [fromName(String pdfAttachmentsEmbeddingModeName)](#fromName-java.lang.String) |  |
| [getName(int pdfAttachmentsEmbeddingMode)](#getName-int) |  |
| [getValues()](#getValues) |  |
| [toString(int pdfAttachmentsEmbeddingMode)](#toString-int) |  |
### ANNOTATIONS {#ANNOTATIONS}
```
public static int ANNOTATIONS
```


Attachments are embedded as annotations with location on page.

### DOCUMENT_EMBEDDED_FILES {#DOCUMENT-EMBEDDED-FILES}
```
public static int DOCUMENT_EMBEDDED_FILES
```


Attachments are embedded as the document embedded files without annotations.

### NONE {#NONE}
```
public static int NONE
```


Attachments are not embedded.

### length {#length}
```
public static int length
```


### fromName(String pdfAttachmentsEmbeddingModeName) {#fromName-java.lang.String}
```
public static int fromName(String pdfAttachmentsEmbeddingModeName)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| pdfAttachmentsEmbeddingModeName | java.lang.String |  |

**Returns:**
int
### getName(int pdfAttachmentsEmbeddingMode) {#getName-int}
```
public static String getName(int pdfAttachmentsEmbeddingMode)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| pdfAttachmentsEmbeddingMode | int |  |

**Returns:**
java.lang.String
### getValues() {#getValues}
```
public static int[] getValues()
```




**Returns:**
int[]
### toString(int pdfAttachmentsEmbeddingMode) {#toString-int}
```
public static String toString(int pdfAttachmentsEmbeddingMode)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| pdfAttachmentsEmbeddingMode | int |  |

**Returns:**
java.lang.String
