**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord](../../com.aspose.imaging.fileformats.emf.emfplus.records/emfplusrecord), [com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusPropertyRecordType](../../com.aspose.imaging.fileformats.emf.emfplus.records/emfpluspropertyrecordtype)
```
public final class EmfPlusSetPixelOffsetMode extends EmfPlusPropertyRecordType
```

The EmfPlusSetPixelOffsetMode record specifies how pixels are centered with respect to the coordinates of the drawing surface.
## Constructors

| Constructor | Description |
| --- | --- |
| [EmfPlusSetPixelOffsetMode(EmfPlusRecord source)](#EmfPlusSetPixelOffsetMode-com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord-) | Initializes a new instance of the `EmfPlusSetPixelOffsetMode` class. |
## Methods

| Method | Description |
| --- | --- |
| [getPixelOffsetMode()](#getPixelOffsetMode--) | Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26). |
| [setPixelOffsetMode(byte value)](#setPixelOffsetMode-byte-) | Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26). |
### EmfPlusSetPixelOffsetMode(EmfPlusRecord source) {#EmfPlusSetPixelOffsetMode-com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord-}
```
public EmfPlusSetPixelOffsetMode(EmfPlusRecord source)
```


Initializes a new instance of the `EmfPlusSetPixelOffsetMode` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| source | [EmfPlusRecord](../../com.aspose.imaging.fileformats.emf.emfplus.records/emfplusrecord) | The source. |

### getPixelOffsetMode() {#getPixelOffsetMode--}
```
public byte getPixelOffsetMode()
```


Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).

Value: The pixel offset mode.

**Returns:**
byte
### setPixelOffsetMode(byte value) {#setPixelOffsetMode-byte-}
```
public void setPixelOffsetMode(byte value)
```


Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).

Value: The pixel offset mode.

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

