> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FRDocument オブジェクトの RecognizePages メソッド

> ABBYY FineReader Engine API の FRDocument オブジェクトの RecognizePages メソッド — 指定したページを認識し、ページ合成を実行します。

このメソッドは、ドキュメント内の指定したページに対して、認識処理とページ合成を実行します。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

```cpp theme={null}
HRESULT RecognizePages(
  IIntsCollection*          PageIndices,
  ISynthesisParamsForPage*  SynthesisParamsForPage,
  IObjectsExtractionParams* ExtractionParams
);
```

### C\#

```csharp theme={null}
void RecognizePages(
  IIntsCollection          PageIndices,
  ISynthesisParamsForPage  SynthesisParamsForPage,
  IObjectsExtractionParams extractionParams
);
```

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

```vb theme={null}
Sub RecognizePages( _
  PageIndices As IIntsCollection, _
  [SynthesisParamsForPage As ISynthesisParamsForPage = Nothing], _
  [ExtractionParams As IObjectsExtractionParams = Nothing] _
)
```

<div id="parameters">
  ## パラメーター
</div>

PageIndices

\[in] 認識するページ番号を含む [IntsCollection](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/intscollection) オブジェクトを指定します。

SynthesisParamsForPage

\[in] ページ合成のパラメーターを格納する [SynthesisParamsForPage](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/synthesisparamsforpage) オブジェクトです。このパラメーターには 0 を指定できます。この場合、ページはデフォルトのパラメーターで合成されます。[プロファイル](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles) がロードされている場合は、そのプロファイルで設定されたパラメーターが使用されます。

ExtractionParams

\[in] オブジェクト抽出のパラメーターを格納する [ObjectsExtractionParams](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/objectsextractionparams) オブジェクトです。このパラメーターには 0 を指定できます。この場合、オブジェクトはデフォルトのパラメーターで抽出されます。[プロファイル](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles) がロードされている場合は、そのプロファイルで設定されたパラメーターが使用されます。

<div id="return-values">
  ## 戻り値
</div>

認識がユーザーによって中断された場合、このメソッドは E\_ABORT を返します。また、[ABBYY FineReader Engine 関数の標準戻りコード](/ja/fine-reader/engine/api-reference/return-codes)を返すこともあります。

<div id="remarks">
  ## 備考
</div>

* このメソッドは、[FRDocument](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument)オブジェクトのIConnectionPointContainerインターフェイスに接続されているリスナーに対して、イベントを通知することがあります。

* Linux および Windows では、[IEngine::MultiProcessingParams](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/properties#multiprocessingparams)プロパティの値に応じて、ABBYY FineReader Engine は複数ページのドキュメントの処理をCPUコアに分散して実行できます。

<div id="see-also">
  ## 関連項目
</div>

[FRDocument](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument)

[プロファイルの操作](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)
