**Inheritance:**
java.lang.Object
```
public final class RegionData
```

Encapsulates the data that makes up a [Region](../../com.aspose.drawing/region) object. This class cannot be inherited.
## Methods

| Method | Description |
| --- | --- |
| [getData()](#getData--) | Gets an array of bytes that specify the [Region](../../com.aspose.drawing/region) object. |
| [setData(byte[] value)](#setData-byte---) | Sets an array of bytes that specify the [Region](../../com.aspose.drawing/region) object. |
### getData() {#getData--}
```
public byte[] getData()
```


Gets an array of bytes that specify the [Region](../../com.aspose.drawing/region) object.

**Returns:**
byte[] - An array of bytes that specify the [Region](../../com.aspose.drawing/region) object.
### setData(byte[] value) {#setData-byte---}
```
public void setData(byte[] value)
```


Sets an array of bytes that specify the [Region](../../com.aspose.drawing/region) object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | an array of bytes that specify the [Region](../../com.aspose.drawing/region) object. |

