GetSelectedCells Method of the ZoomViewer Object
This method returns the surrounding rectangle of selected cells in the specified table block.
Syntax
C++
HRESULT GetSelectedCells(
int blockIndex,
IFRRectangle** selectedCells
);
C#
IFRRectangle GetSelectedCells( int blockIndex );
Visual Basic .NET
Function GetSelectedCells(blockIndex As Integer) As IFRRectangle
Parameters
- blockIndex
- [in] Specifies the index of a table block. The index is in the ILayout::VisualBlocks collection.
- selectedCells
- [out, retval] Provides access to the returned FRRectangle object which contains the coordinates of the surrounding rectangle of the selected cells. Coordinates are defined in a base grid.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
By the base grid here we assume the grid formed by table borders and separators. Each vertical separator increments the horizontal coordinate by one, and each horizontal separator increments the vertical coordinate by one. Coordinate axes are oriented from left to right and from top to bottom.
See also
17.09.2024 15:14:40