跳轉到主要內容
此方法會建立代表具有指定座標之矩形的 FRRectangle 物件。

語法

C++

HRESULT CreateRectangle(
  int           Left,
  int            Top,
  int           Right,
  int            Bottom,
  IFRRectangle** Result
);

C#

IFRRectangle CreateRectangle(
  int Left,
  int Top,
  int Right,
  int Bottom
);

Visual Basic .NET

Function CreateRectangle( _
  [Left As Integer = 0], _
  [Top As Integer = 0], _
  [Right As Integer = 0], _
  [Bottom As Integer = 0] _
) As IFRRectangle

參數

Left [in] 此參數表示矩形左邊界的座標。此參數為可選;如果未指定,左邊界座標為 0。 Top [in] 此參數表示矩形上邊界的座標。此參數為可選;如果未指定,上邊界座標為 0。 Right [in] 此參數表示矩形右邊界的座標。此參數為可選;如果未指定,右邊界座標為 0。 Bottom [in] 此參數表示矩形下邊界的座標。此參數為可選;如果未指定,下邊界座標為 0。 Result [out, retval] 指向 IFRRectangle* 指標變數的指標,用來接收結果 FRRectangle 物件的介面指標。不得為 NULL。

傳回值

此方法沒有特定的傳回值,而是會傳回 ABBYY FineReader Engine 函式的標準傳回值

另請參閱

Engine FRRectangle