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

# IEmptyPageDetectionOptions

> Thresholds used to decide whether a page is empty — barcodes, black squares, text objects, and blackness percentage.

## What it does

Stores the options for detecting empty pages.

## Properties

Set any numeric threshold to `-1` to disable it.

| Name                     | Type                                                                   | Access     | Description                                                                                                                  |
| :----------------------- | :--------------------------------------------------------------------- | :--------- | :--------------------------------------------------------------------------------------------------------------------------- |
| `KernelRect`             | [IPageRect](/vantage/documentation/scanning-station/admin/i-page-rect) | Read/write | Relative rectangle of the page kernel, measured in twips. If all dimensions are `0`, the rectangle is defined automatically. |
| `MaxBarcodesCount`       | `int`                                                                  | Read/write | Maximum number of barcodes allowed on an empty page.                                                                         |
| `MaxBlackSquaresCount`   | `int`                                                                  | Read/write | Maximum number of black squares allowed on an empty page.                                                                    |
| `MaxTextObjectsCount`    | `int`                                                                  | Read/write | Maximum number of text objects allowed on an empty page.                                                                     |
| `MaxBlacknessPercentage` | `int`                                                                  | Read/write | Maximum blackness percentage allowed on an empty page.                                                                       |

## Related topics

* [IPageInfo](/vantage/documentation/scanning-station/admin/i-page-info)
* [IPageRect](/vantage/documentation/scanning-station/admin/i-page-rect)
* [Empty page detection](/vantage/documentation/scanning-station/interface/empty-page-detection)
* [Objects available from event scripts](/vantage/documentation/scanning-station/admin/available-objects)
