## RegionData class


Contains data that defines a region. Objects of this class should only be allocated using [System::MakeObject()](../../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

```cpp
class RegionData : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [get_Data](./get_data/)() | Returns a byte array containing data thet defines a region. |
| [RegionData](./regiondata/)(const ArrayPtr\<uint8_t\>\&) | Constructs a new instance of [RegionData](./) class and initializes it with the specified data. |
| [set_Data](./set_data/)(const ArrayPtr\<uint8_t\>\&) | Sets a region data for the current object. |
## See Also

* Class [Object](../../system/object/)
* Namespace [System::Drawing::Drawing2D](../)
* Library [Aspose.PDF for C++](../../)
