> ## 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.

# FRPage オブジェクトの IsEmpty メソッド

> ABBYY FineReader Engine API の FRPage オブジェクトの IsEmpty メソッド。EmptyPageDetectionParams を使用してページの矩形領域と許容範囲を設定し、ページが空かどうか（関連オブジェクトを含まないかどうか）を確認します。

このメソッドは、ページが空かどうかを確認します。解析メソッドと同じパラメーターを使用して、ページにテキスト、表、画像などの関連オブジェクトが含まれているかどうかを判定します。`EmptyPageDetectionParams` パラメーターを使用すると、ページの矩形領域を設定して余白上のごみが結果に影響しないようにしたり、ページが空と見なされるオブジェクトの最大数を指定したりできます。

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

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

```cpp theme={null}
HRESULT IsEmpty(
  IObjectsExtractionParams*  ExtractionParams,
  IRecognizerParams*         RecognizerParams,
  IEmptyPageDetectionParams* EmptyPageDetectionParams,
  VARIANT_BOOL*              Result
);
```

### C\#

```csharp theme={null}
bool IsEmpty(
  IObjectsExtractionParams  ExtractionParams,
  IRecognizerParams         RecognizerParams,
  IEmptyPageDetectionParams EmptyPageDetectionParams
);
```

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

```vb theme={null}
Function IsEmpty( _
  [ExtractionParams As IObjectsExtractionParams = Nothing], _
  [RecognizerParams As IRecognizerParams = Nothing], _
  [EmptyPageDetectionParams As IEmptyPageDetectionParams = 0] _
) As Boolean
```

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

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)が読み込まれている場合は、そのプロファイルで設定されたパラメーターが使用されます。

RecognizerParams

\[in] レイアウト解析に必要な認識パラメーター (認識言語など) を格納する [RecognizerParams](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/recognizerparams) オブジェクトを参照します。このパラメーターには 0 を指定できます。この場合、デフォルトのパラメーターが使用されます。[プロファイル](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)が読み込まれている場合は、そのプロファイルで設定されたパラメーターが使用されます。

EmptyPageDetectionParams

\[in] 空ページ検出のパラメーター (考慮対象外のページ余白や、空ページ上で許容されるオブジェクト数など) を格納する [EmptyPageDetectionParams](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/emptypagedetectionparams) オブジェクトを参照します。このパラメーターには 0 を指定できます。この場合、デフォルトのパラメーターが使用されます。[プロファイル](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles)が読み込まれている場合は、そのプロファイルで設定されたパラメーターが使用されます。

Result

\[out, retval] メソッドの実行結果を受け取ります。ページが空であると判定された場合、この変数は TRUE に設定されます。空でない場合 (テキスト、画像、またはその他の関連オブジェクトが含まれる場合) は FALSE に設定されます。

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

このメソッドには固有の戻り値はありません。代わりに、[ABBYY FineReader Engine 関数の標準戻りコード](/ja/fine-reader/engine/api-reference/return-codes)が返されます。

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

[FRPage](/ja/fine-reader/engine/api-reference/document-related-objects/frpage)
