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

# TableBlock Object (ITableBlock Interface)

This object provides access to specific properties of a recognized table block. To access the properties of the certain table block, use the [**AsTableBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block-astableblock.md) method of the corresponding [**Block**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block.md) object.

A recognized table may include bound columns, which correspond to a table field in a Document Definition, and unbound columns, for which no field were found in the Document Definition. Bound columns contain recognized data, while unbound do not contain any recognized data. You can access recognized data in the cells of bound columns using the **Cell** property. The picture below illustrates the meaning of the object's properties:

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Table_pict.gif?s=e89eb01c03a1ecc6fa646d93635fbe86)

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **BoundColumnsCount** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the number of bound columns in the table. Each bound column corresponds to a column in the Document Definition. Also a recognized table can have unbound columns for which no columns were found in the Document Definition. The total number of columns in the table (bound and unbound) is defined by the [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) property of the [**TableColumns**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tablecolumns.md) object (the **Columns** property). |
| [**Cell**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-cell.md) | [**Block**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to the specified table cell. |
| **Columns** | [**TableColumns**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tablecolumns.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to the collection of table columns. |
| **HSeparators** | [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/intscollection.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the coordinates of the horizontal separators of the table block. This collection always contains at least two elements corresponding to the table block top and bottom borders. |
| **RowsCount** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the number of rows in the table. |

## Methods

| **Name** | **Description** |
| - | - |
| [**AddColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-addcolumn.md) | Adds a column to the table. |
| [**AddHSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-addhseparator.md) | Adds the horizontal separator to the table. |
| [**DeleteColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-deletecolumn.md) | Deletes the specified column from the table. |
| [**DeleteHSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-deletehseparator.md) | Deletes the horizontal separator from the table. |
| [**FindCellBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock-findcellblock.md) | Allows you to find a cell block, associated with the cell, located at specified point. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/TableBlock.gif?s=b94dac65495bef1731d1a805af7136f8)

## Output parameter

This object is the output parameter of the [**AsTableBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block-astableblock.md) method of the [**Block**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/block.md) object.

## See also

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

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
