跳轉到主要內容
此方法會對文件中指定的頁面執行識別與頁面合成。

語法

C++

HRESULT RecognizePages(
  IIntsCollection*          PageIndices,
  ISynthesisParamsForPage*  SynthesisParamsForPage,
  IObjectsExtractionParams* ExtractionParams
);

C#

void RecognizePages(
  IIntsCollection          PageIndices,
  ISynthesisParamsForPage  SynthesisParamsForPage,
  IObjectsExtractionParams extractionParams
);

Visual Basic .NET

Sub RecognizePages( _
  PageIndices As IIntsCollection, _
  [SynthesisParamsForPage As ISynthesisParamsForPage = Nothing], _
  [ExtractionParams As IObjectsExtractionParams = Nothing] _
)

參數

PageIndices [in] 此參數指向包含要識別頁面頁碼的 IntsCollection 物件。 SynthesisParamsForPage [in] SynthesisParamsForPage 物件,用於儲存頁面合成的參數。此參數可以為 0。此時,頁面會使用預設參數進行合成;或者,如果已載入 profile,則會使用該設定檔所設定的參數。 ExtractionParams [in] ObjectsExtractionParams 物件,用於儲存物件擷取的參數。此參數可以為 0。此時,物件會使用預設參數進行擷取;或者,如果已載入 profile,則會使用該設定檔所設定的參數。

回傳值

如果識別遭使用者中斷,這個方法將回傳 E_ABORT。它也會回傳 ABBYY FineReader Engine 函式的標準回傳碼

備註

  • 此方法可能會將事件通知給附加到 FRDocument 物件之 IConnectionPointContainer 介面的監聽器。
  • 在 Linux 和 Windows 中:ABBYY FineReader Engine 可依據 IEngine::MultiProcessingParams 屬性的值,將多頁文件的處理作業分配至 CPU 核心。

另請參閱

FRDocument 設定檔的使用方式