跳轉到主要內容
此方法回傳頁面在集合中的索引。若集合中不存在該頁面,則回傳 -1。

語法

C++

HRESULT IndexOf(
  IFRPage* Page,
  int*     Index
);

C#

int IndexOf( IFRPage Page );

Visual Basic .NET

Function IndexOf(Page As IFRPage) As Integer

參數

Page [in] 指與必須尋找的頁面對應的 FRPage 物件。 Index [out, retval] 此參數包含與指定頁面對應之元素的索引。

回傳值

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

備註

此方法不會向附加至 FRPages 物件之 IConnectionPointContainer 介面的任何監聽器回報任何事件。

另請參見

FRPages