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

# AddNew Method of the TableSeparators Object

This method creates a new [TableSeparator](/fine-reader/engine/api-reference/layout-related-objects/tableseparator) object in the specified position and adds it into the collection.

## Syntax

### C++

```cpp theme={null}
HRESULT AddNew(
  int               Position,
  ITableSeparator** Result
);
```

### C\#

```csharp theme={null}
ITableSeparator AddNew( int Position );
```

### Visual Basic .NET

```vb theme={null}
Function AddNew(Position As Integer) As ITableSeparator
```

## Parameters

Position

\[in] This parameter specifies the position of the table separator on the image on which the [Layout](/fine-reader/engine/api-reference/layout-related-objects/layout) is defined, particularly on its deskewed [black-and-white](/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#black-and-white) image plane. If the [TableSeparators](/fine-reader/engine/api-reference/layout-related-objects/tableseparators) object represents vertical separators, this is horizontal coordinate, and vertical coordinate otherwise.

Result

\[out, retval] A variable of type [ITableSeparator](/fine-reader/engine/api-reference/layout-related-objects/tableseparator)\* that receives a pointer to the interface of the TableSeparator object which represents the newly added table separator.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## Remarks

Position of the newly added separator should lay between borders of the table block and should not coincide with an existing table separator; otherwise, an error code is returned. Adding of the table separator into a table changes table cells ([TableCells](/fine-reader/engine/api-reference/layout-related-objects/tablecells) object), as new cells may appear as the result of such operation. If the table separator splits table cell that contain recognized text, this text remains in one of the resulting cells (top or left, depending on the split direction).

## See also

[TableSeparators](/fine-reader/engine/api-reference/layout-related-objects/tableseparators)
