跳转到主要内容
此方法返回指定表格块中所选单元格的外接矩形。

语法

C++

HRESULT GetSelectedCells(
  int            blockIndex,
  IFRRectangle** selectedCells
);

C#

IFRRectangle GetSelectedCells( int blockIndex );

Visual Basic .NET

Function GetSelectedCells(blockIndex As Integer) As IFRRectangle

参数

blockIndex [in] 指定表格块的索引。该索引位于 ILayout::VisualBlocks 集合中。 selectedCells [out, retval] 用于访问返回的 FRRectangle 对象,该对象包含所选单元格外接矩形的坐标。坐标基于基准网格定义。

返回值

此方法没有特定的返回值。它将返回 ABBYY FineReader Engine 函数的标准返回值

说明

这里的基准网格指由表格边框和分隔线构成的网格。每条垂直分隔线都会使水平坐标加 1,每条水平分隔线都会使垂直坐标加 1。坐标轴方向为从左到右、从上到下。

另请参见

ZoomViewer SetSelectedCells