Chinese Simplified (简体中文)

SetSelectedCells Method of the ZoomViewer Object

This method allows you to set selected cells of a table block.

Syntax

C++

HRESULT SetSelectedCells(
  int           blockIndex,
  IFRRectangle* selectedCells
);
    

C#

void SetSelectedCells(
  int         blockIndex,
  IFRRectangle selectedCells
);
    

Visual Basic .NET

Sub SetSelectedCells( _
  blockIndex As Integer, _
  selectedCells As IFRRectangle _
)
    

Parameters

blockIndex
[in] Specifies the index of a table block. The index is in the ILayout::VisualBlocks collection.
selectedCells
[in] Refers to the FRRectangle object which specifies the coordinates of the surrounding rectangle of the cells to be selected. 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

ZoomViewer

GetSelectedCells

17.09.2024 15:14:41

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.