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

语法

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。坐标轴方向为从左到右、从上到下。

另请参阅

ImageViewer SetSelectedCells