跳轉到主要內容
這個方法可讓您為字元設定矩形。它會影響其 LeftTopRightBottom 屬性,但不會影響 CharacterRegion 屬性。此矩形是以影像上的像素座標定義。

語法

C++

HRESULT SetRect(
  int Left,
  int Top,
  int Right,
  int Bottom
);

C#

void SetRect(
  int Left,
  int Top,
  int Right,
  int Bottom
);

Visual Basic .NET

Sub SetRect( _
  Left As Integer, _
  Top As Integer, _
  Right As Integer, _
  Bottom As Integer _
)

參數

Left [in] 矩形左側邊界的座標。 Top [in] 矩形上側邊界的座標。 Right [in] 矩形右側邊界的座標。 Bottom [in] 矩形下側邊界的座標。

回傳值

此方法沒有特定回傳值。它會回傳 ABBYY FineReader Engine 函式的標準回傳值

另請參閱

CharParams