> ## 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.

# DetectEmpty Method of the ImageProcessingTools Object

This method detects if the image is empty. You can use empty pages as delimiters, or delete empty pages if they are unnecessary.

## Syntax

```vb Visual Basic .NET theme={null}
Function DetectEmpty( Image As Image) As Boolean
```

```cpp C++ theme={null}
HRESULT DetectEmpty(
  IImage*       Image,
  VARIANT_BOOL* Result
);
```

## Parameters

**Image**

\[in] Refers to the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object, which represents the image.

**Result**

\[out, retval] A pointer to a **Boolean** variable that receives the result of checking. If the value is TRUE, the image is empty.

## 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).

## See also

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