> ## 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 オブジェクトの Recognize メソッド

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

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

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

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

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

### C\#

```csharp theme={null}
void Recognize(
  ISynthesisParamsForPage  SynthesisParamsForPage,
  IObjectsExtractionParams ExtractionParams
);
```

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

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

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

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)
