跳轉到主要內容
此方法會傳回指定表格區塊中所選取儲存格的外接矩形。

語法

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