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

# TableBlockDefinition Object (ITableBlockDefinition Interface)

This object corresponds to a table block of a Document Definition. Each table block comprises two collections of separators: vertical and horizontal. To define a Document Definition table, you need to add horizontal and vertical separators to the table block of a Document Definition using the [**AddHSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-addhseparator.md) and [**AddVSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-addvseparator.md) methods, or detect them automatically using the [**DetectHorizontalSplitters**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-detecthorizontalsplitters.md) and [**DetectHorizontalSplitters**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-detecthorizontalsplitters.md) methods. Then use the [**CreateColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-createcolumn.md) method to add a column by specifying the coordinate at which the column will be added.

To access the table block definition, use the [**AsTableBlockDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinition.md#astableblock) property of the [**BlockDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinition.md) object.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **HSeparators** | [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinitions.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. |
| **VSeparators** | [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinitions.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the coordinates of the vertical separators of the table block. This collection always contains at least two elements corresponding to the table block right and left borders. |

## Methods

| **Name** | **Description** |
| - | - |
| [**AddHSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-addhseparator.md) | Adds a horizontal separator to the table block. |
| [**AddVSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-addvseparator.md) | Adds a vertical separator to the table block. |
| [**CreateColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-createcolumn.md) | Creates a new column at the specified coordinate. |
| [**DeleteColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-deletecolumn.md) | Deletes the column at the specified coordinate. |
| [**DeleteHSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-deletehseparator.md) | Deletes the horizontal separator. |
| [**DeleteVSeparator**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-deletevseparator.md) | Deletes the vertical separator. |
| [**DetectHorizontalSplitters**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-detecthorizontalsplitters.md) | Detects horizontal separators. |
| [**DetectVerticalSplitters**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-detectverticalsplitters.md) | Detects vertical separators. |
| [**GetColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-getcolumn.md) | Gets the column at the specified coordinate. |
| [**GetColumns**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-getcolumns.md) | Gets the collection of table columns. |
| [**HasColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblockdefinition-hascolumn.md) | Indicates if there is a column at the specified coordinate. |

## Related objects

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

## Samples

This object is used in the following code samples: [Fixed Forms](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#fixedforms).

## See also

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