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

# DeleteHSeparator Method of the TableBlock Object

This method deletes the horizontal separator from the table.

## Syntax

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

```cpp C++ theme={null}
HRESULT DeleteHSeparator(
  int Y
);
```

## Parameters

**Y**

\[in] This parameter specifies the index of the horizontal separator in the collection of horizontal separators. It should be in a range from 0 to the value of the [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) property of the collection of horizontal separators minus 1.

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