跳转到主要内容
此方法可用于设置表格块中选中的单元格。

语法

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 _
)

参数

blockIndex [in] 指定表格块在 ILayout::VisualBlocks 集合中的索引。 selectedCells [in] 指向 FRRectangle 对象,该对象指定要选择的单元格外接矩形的坐标。坐标基于基准网格定义。

返回值

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

备注

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

另请参见

ImageViewer GetSelectedCells