
**Inheritance:** java.lang.Object, ImageOptionsBase

The EMF file format creation options.

## Constructors

| Constructor | Description |
| --- | --- |
| [EmfOptions()](#EmfOptions) | Initializes a new instance of the EmfOptions class. |
| [EmfOptions(EmfOptions emfOptions)](#EmfOptions-com.aspose.cad.imageoptions.EmfOptions) | Initializes a new instance of the EmfOptions class. |

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getCompress()](#getCompress) | Gets or sets a value indicating whether this instance is compressed. Value: true if compressed; otherwise, false . |
| [setCompress(boolean value)](#setCompress-boolean) | Gets or sets a value indicating whether this instance is compressed. Value: true if compressed; otherwise, false . |

### EmfOptions() {#EmfOptions}
```java
public EmfOptions()
```

Initializes a new instance of the EmfOptions class.

### EmfOptions(EmfOptions emfOptions) {#EmfOptions-com.aspose.cad.imageoptions.EmfOptions}
```java
public EmfOptions(EmfOptions emfOptions)
```

Initializes a new instance of the EmfOptions class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| emfOptions | EmfOptions | The EMF options. |

### getTargetFormat() {#getTargetFormat}
```java
public long getTargetFormat()
```

**Returns:** long

### getCompress() {#getCompress}
```java
public final boolean getCompress()
```

Gets or sets a value indicating whether this instance is compressed. Value: true if compressed; otherwise, false .

**Returns:** boolean

### setCompress(boolean value) {#setCompress-boolean}
```java
public final void setCompress(boolean value)
```

Gets or sets a value indicating whether this instance is compressed. Value: true if compressed; otherwise, false .

