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
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
17.09.2024 15:14:40