**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emf.records.EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord)
```
public final class EmfSetMapMode extends EmfRecord
```

The EMR\_SETMAPMODE record specifies the mapping mode of the playback device context. The mapping mode specifies the unit of measure used to transform page space units into device space units, and also specifies the orientation of the device's x-axis and y-axis.
## Constructors

| Constructor | Description |
| --- | --- |
| [EmfSetMapMode()](#EmfSetMapMode--) | Initializes a new instance of the [EmfSetMapMode](../../com.aspose.imaging.fileformats.emf.emf.records/emfsetmapmode) class. |
| [EmfSetMapMode(EmfRecord record)](#EmfSetMapMode-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-) | Initializes a new instance of the `EmfSetMapMode` class. |
## Methods

| Method | Description |
| --- | --- |
| [getMapMode()](#getMapMode--) | Gets or sets the map mode. |
| [setMapMode(int value)](#setMapMode-int-) | Gets or sets the map mode. |
### EmfSetMapMode() {#EmfSetMapMode--}
```
public EmfSetMapMode()
```


Initializes a new instance of the [EmfSetMapMode](../../com.aspose.imaging.fileformats.emf.emf.records/emfsetmapmode) class.

### EmfSetMapMode(EmfRecord record) {#EmfSetMapMode-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-}
```
public EmfSetMapMode(EmfRecord record)
```


Initializes a new instance of the `EmfSetMapMode` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| record | [EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord) | The record. |

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


Gets or sets the map mode.

Value: The map mode.

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


Gets or sets the map mode.

Value: The map mode.

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

