# ImageEditorView

The `ImageEditorView` class is used to display an image and related UI elements.

## Definition

*Namespace:* Dynamsoft.CameraEnhancer.Maui

*Assembly:* Dynamsoft.CameraEnhancer.Maui

```java
class ImageEditorView : View
```

## Methods & Properties

| Method | Description |
|------- |-------------|
| [`ImageEditorView`](#imageeditorview-1) | The constructor. |
| [`GetDrawingLayer`](#getdrawinglayer) | Get the specified `DrawingLayer`. |

| Property | Type | Description |
|--------- | ---- |-------------|
| [`OriginalImage`](#originalimage) | *ImageData* | The original image that displayed on the view. |
| [`SelectedDrawingItem`](#selecteddrawingitem) | *DrawingItem* | The selected [`DrawingItem`](https://www.dynamsoft.com/camera-enhancer/docs/mobile/programming/maui/api-reference/drawing-item.md) on the view. |

### ImageEditorView

The constructor. Create an instance of `ImageEditorView`.

```csharp
ImageEditorView();
```

### GetDrawingLayer

Get the specified `DrawingLayer`.

```csharp
DrawingLayer GetDrawingLayer(EnumDrawingLayerId id);
```

**Parameters**

`[in] id`: One of the [`EnumDrawingLayerId`](https://www.dynamsoft.com/camera-enhancer/docs/mobile/programming/maui/api-reference/enum/drawing-layer-id.md) member that specifies the ID of the layer that you want to get.

**Return Value**

The `DrawingLayer` instance.

### OriginalImage

The origial image that displayed on the view.

```csharp
ImageData OriginalImage{ get; set; }
```

### SelectedDrawingItem

The selected [`DrawingItem`](https://www.dynamsoft.com/camera-enhancer/docs/mobile/programming/maui/api-reference/drawing-item.md) on the view.

```csharp
DrawingItem SelectedDrawingItem { get; }
```
