TableCells Object (ITableCells Interface)

All cells of a table block form a single collection represented by TableCells object. Besides the standard collection functionality, this object contains methods for merging and splitting groups of table cells and method for finding table cell index in collection by its position in a base table grid. The collection is accessible via the TableBlock object.

Notes:

  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Count int, read-only Stores the number of elements in the collection.
Element TableCell, read-only Provides access to a single element of the collection.

Methods

Name Description
IndexOf Returns an index of the cell that corresponds to the specified point in base coordinates. This method may be useful if you want to obtain indices of all cells from one row or column.
Item Provides access to a single element of the collection.
Merge Merges a group of cells inside the specified rectangle.
Split Splits a group of cells inside the specified rectangle.

Related objects

Object Diagram

Samples

C# code

The object is used in the following code samples: RecognizedTextProcessing; and demo tools: Camera OCR, Engine Predefined Processing Profiles, Image Preprocessing.

See also

TableBlock

TableCell

Working with Layout and Blocks

Working with Text

Working with Collections

Working with Properties

24.03.2023 8:51:52

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.