Chinese Simplified (简体中文)

Split Method of the TableCells Object

This method splits any merged cells that are located in the specified rectangle. This method changes the TableCells object — it affects the number of cells. After the split, recognized text from the cells is assigned to the left top cell.

Syntax

HRESULT Split(
  int Left,
  int Top,
  int Right,
  int Bottom
);
    

Parameters

Left
[in] This variable specifies coordinate of the left border of the rectangle in base coordinates.
Top
[in] This variable specifies coordinate of the top border of the rectangle in base coordinates.
Right
[in] This variable specifies coordinate of the right border of the rectangle in base coordinates.
Bottom
[in] This variable specifies coordinate of the bottom border of the rectangle in base coordinates.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

The rectangle for split is specified in base coordinates, not on image. It should not cut existing cells. This means that if table block contains merged cells — cells having dimensions more than one base unit, a user should take care and not to specify the rectangle that would intersect the interior of such cells. This rectangle may only be drawn at cells' borders. After this method call a number of new cells is added in the collection instead of the split cells. These new cells have dimensions of one base unit.

See also

ITableCells::Merge

03.07.2024 8:50:10

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.