**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), [com.aspose.imaging.fileformats.wmf.objects.WmfPointObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfpointobject)
```
public class WmfSetPixel extends WmfPointObject
```

The META\_SETPIXEL record sets the pixel at the specified coordinates to the specified color.
## Constructors

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

| Method | Description |
| --- | --- |
| [getColorRef()](#getColorRef--) | Gets or sets the color reference. |
| [setColorRef(int value)](#setColorRef-int-) | Gets or sets the color reference. |
### WmfSetPixel() {#WmfSetPixel--}
```
public WmfSetPixel()
```


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


Gets or sets the color reference.

Value: The color reference.

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


Gets or sets the color reference.

Value: The color reference.

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

