Chinese Simplified (简体中文)

InitializeGrid Method of the TableBlock Object

This method initializes table grid for the table block.

Syntax

HRESULT InitializeGrid(
  IIntsCollection* HorzSeparators,
  IIntsCollection* VertSeparators
);
    

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

TableBlock

7/3/2024 8:50:10 AM

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.