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

# DeleteColumn Method of the TableBlock Object

This method deletes the column from the table.

## Syntax

```vb Visual Basic .NET theme={null}
Sub DeleteColumn(X As Integer)
```

```cpp C++ theme={null}
HRESULT DeleteColumn(
  int X
);
```

## Parameters

**X**

\[in] This parameter specifies the coordinate of the column to be deleted. You can pass to this parameter any coordinate greater than the coordinate of the left border of the column and less than the coordinate of the right border of the column. You cannot delete the first and the last 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)
