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

# AddColumn Method of the TableBlock Object

This method adds a column to the table.

## Syntax

```vb Visual Basic .NET theme={null}
Function AddColumn(X As Integer) As TableColumn
```

```cpp C++ theme={null}
HRESULT AddColumn(
  int            X,
  ITableColumn** Result
);
```

## Parameters

**X**

\[in] This parameter specifies the coordinate of the column border. The specified coordinate must be in range from left to right coordinate of an existing column. The method divides this column into two columns.

**Result**

\[out, retval] A pointer to the [**ITableColumn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tablecolumn.md)**\*** variable that receives the interface pointer for the added column.

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

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

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