**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.wmf.objects.WmfObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfobject)
```
public class WmfEscape extends WmfObject
```

The wmf escape object.
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfEscape()](#WmfEscape--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getEscapeType()](#getEscapeType--) | Gets or sets the type of the escape. |
| [setEscapeType(int value)](#setEscapeType-int-) | Gets or sets the type of the escape. |
| [getEscapeRecord()](#getEscapeRecord--) | Gets or sets the escape record. |
| [setEscapeRecord(WmfEscapeRecordBase value)](#setEscapeRecord-com.aspose.imaging.fileformats.wmf.objects.escaperecords.WmfEscapeRecordBase-) | Gets or sets the escape record. |
### WmfEscape() {#WmfEscape--}
```
public WmfEscape()
```


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


Gets or sets the type of the escape.

Value: The type of the escape.

**Returns:**
int
### setEscapeType(int value) {#setEscapeType-int-}
```
public void setEscapeType(int value)
```


Gets or sets the type of the escape.

Value: The type of the escape.

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

### getEscapeRecord() {#getEscapeRecord--}
```
public WmfEscapeRecordBase getEscapeRecord()
```


Gets or sets the escape record.

Value: The escape record.

**Returns:**
[WmfEscapeRecordBase](../../com.aspose.imaging.fileformats.wmf.objects.escaperecords/wmfescaperecordbase)
### setEscapeRecord(WmfEscapeRecordBase value) {#setEscapeRecord-com.aspose.imaging.fileformats.wmf.objects.escaperecords.WmfEscapeRecordBase-}
```
public void setEscapeRecord(WmfEscapeRecordBase value)
```


Gets or sets the escape record.

Value: The escape record.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WmfEscapeRecordBase](../../com.aspose.imaging.fileformats.wmf.objects.escaperecords/wmfescaperecordbase) |  |

