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

# AsTableBlock Method of the Block Object

This method returns the block as the [**TableBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock.md) object. If the block is not a table block, NULL is returned.

## Syntax

```vb Visual Basic .NET theme={null}
Function AsTableBlock() As TableBlock
```

```cpp C++ theme={null}
HRESULT AsTableBlock(
  ITableBlock** result
);
```

## Parameters

**result**

\[out, retval] A pointer to the **ITableBlock\*** pointer variable that receives the interface pointer to the returned [**TableBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tableblock.md) object.

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

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

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