InitializeGrid Method of the TableBlock Object
This method initializes table grid for the table block.
Syntax
C++
HRESULT InitializeGrid( IIntsCollection* HorzSeparators, IIntsCollection* VertSeparators );
C#
void InitializeGrid(
IIntsCollection HorzSeparators,
IIntsCollection VertSeparators
);
Visual Basic .NET
Sub InitializeGrid( _ HorzSeparators As IIntsCollection, _ VertSeparators As IIntsCollection _ )
Parameters
- HorzSeparators
- [in] This variable refers to the IntsCollection object that contains coordinates of internal horizontal separators for the table block.
- VertSeparators
- [in] This variable refers to the IntsCollection object that contains coordinates of internal vertical separators for the table block.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
Table separators are initialized anew by a call to this method. Old table structure is destroyed. All coordinates of table separators must lay between the coordinates of the table borders; otherwise, an error code is returned. Note that only coordinates of internal separators should be passed in IntsCollection objects, that is they should not include coordinates of table borders, although table borders are always present in collections of table separators of the table block itself. All new table cells that appear as the result of a call to this method are initialized with the attributes (for example, recognition parameters) of the cell that was in a left top corner of the previous table structure.
See also
9/17/2024 3:14:41 PM