**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 WmfSetBkColor extends WmfObject
```

The META\_SETBKCOLOR record sets the background color in the playback device context to a specified color, or to the nearest physical color if the device cannot represent the specified color.
## Constructors

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

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


### 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 |  |

