> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MakeEmpty Method of the Region Object

This method removes all rectangles from the region.

## Syntax

```vb Visual Basic .NET theme={null}
Sub MakeEmpty()
```

```cpp C++ theme={null}
HRESULT MakeEmpty();
```

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## Remarks

After a call to this method, the value of the [**IRegion::Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/region.md) property equals to 0.

## See also

[**Region**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/region.md)
