# RegionObjectElement

The `RegionObjectElement` class represents an element of a region object in 2D space. It is an abstract class that provides the interface for region object elements.

## Definition

*Namespace:* Dynamsoft.Core.intermediate_results


```csharp
class RegionObjectElement : IDisposable
```

## Methods

| Method               | Description |
|----------------------|-------------|
| [`GetLocation`](#getlocation) | Gets the location of the region object element. |
| [`GetReferencedElement`](#getreferencedelement) | Gets a referenced region object element. |
| [`GetElementType`](#getelementtype) | Gets the type of the region object element. |
| [`GetImageData`](#getimagedata) | Gets the imageData of the region object element. |
| [`Clone`](#clone) | Clone the region object element. |

### GetLocation

Gets the location of the region object element.

```csharp
Quadrilateral GetLocation()
```

**Return value**

Returns a `Quadrilateral` object which represents the location of the region object element.

**See Also**

[Quadrilateral](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/basic-classes/quadrilateral.md)

### GetReferencedElement

Gets a referenced region object element.

```csharp
RegionObjectElement GetReferencedElement()
```

**Return value**

Returns a referenced `RegionObjectElement` object.

**See Also**

[RegionObjectElement](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/intermediate-results/region-object-element.md)

### GetElementType

Gets the type of the region object element.

```csharp
EnumRegionObjectElementType GetElementType()
```

**Return value**

Returns a `EnumRegionObjectElementType` enum value which represents the type of the region object element.

**See Also**

[EnumRegionObjectElementType](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/enum-region-object-element-type.md)

### GetImageData

Gets the imageData of the region object element.

```csharp
ImageData GetImageData()
```

**Return value**

Returns a referenced `ImageData` object.

### Clone

Clone the region object element.

```csharp
RegionObjectElement Clone()
```

**Return value**

Returns a copy of the region object element.

