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

**All Implemented Interfaces:**
Serializable, Comparable < DocSaveOptions.DocFormat >

```
public static enum DocSaveOptions.DocFormat extends Enum < DocSaveOptions.DocFormat >
```

Allows to specify .doc or .docx file format.

## Fields

| Field | Description |
| --- | --- |
| [Doc](#Doc) | [MS-DOC]: Word (.doc) Binary File Format |
| [DocX](#DocX) | Office Open XML (.docx) File Format |

## 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. |

### Doc {#Doc}
```
public static final DocSaveOptions.DocFormat Doc
```

[MS-DOC]: Word (.doc) Binary File Format

### DocX {#DocX}
```
public static final DocSaveOptions.DocFormat DocX
```

Office Open XML (.docx) File Format

### getByValue {#getByValue-int-}
```
public static DocSaveOptions.DocFormat getByValue(int 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 DocSaveOptions.DocFormat [] 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
