# TextRemovedBinaryImageUnit

The `TextRemovedBinaryImageUnit` class represents an intermediate result unit that contains a text-removed binary image.

## Definition

*Namespace:* Dynamsoft.Core.intermediate_results


```csharp
class TextRemovedBinaryImageUnit : IntermediateResultUnit 
```

## Methods

| Method               | Description |
|----------------------|-------------|
| [`GetImageData`](#getimagedata) | Gets the text-removed binary image. |
| [`SetImageData`](#setimagedata) | Sets the text-removed binary image. |

### Inherited Methods

Checkout inherited methods from [IntermediateResultUnit](https://www.dynamsoft.com/capture-vision/docs/server/programming/dotnet/api-reference/core/intermediate-results/intermediate-result-unit.md) for more details.

### GetImageData

Gets the text-removed binary image.

```csharp
ImageData GetImageData()
```

**Return value**

Returns the `ImageData` object that contains the text-removed binary image.

**See Also**

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

### SetImageData

Sets the text-removed binary image.

```csharp
int SetImageData(ImageData imgData)
```

**Parameters**

`imgData` The image data to set.

**Return value**

Returns 0 if succeeds, nonzero otherwise.

**See Also**

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