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

# IPageClassificationResult

> IPageClassificationResult は、FlexiCapture スクリプト内にページ分類の分類結果を格納し、マッチング スクリプトで使用できるように、一致したセクションとページ型を提供します。

<div id="what-it-does">
  ## 機能
</div>

ページの分類結果に関する情報を格納します。

<Note>
  ルールをローカルで確認する場合、Web Verification Station ではこのオブジェクトは使用できません。
</Note>

<div id="properties">
  ## プロパティ
</div>

<table width="100%">
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        <p>
          <strong>名前</strong>
        </p>
      </th>

      <th style={{ textAlign: "left" }}>
        <p>
          <strong>型</strong>
        </p>
      </th>

      <th style={{ textAlign: "left" }}>
        <p>
          <strong>アクセス</strong>
        </p>
      </th>

      <th style={{ textAlign: "left" }}>
        <p>
          <strong>説明</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>MatchedSections</p>
      </td>

      <td>
        <p>string</p>
      </td>

      <td>
        <p>読み取り専用</p>
      </td>

      <td>
        <p>
          マッチング可能なセクションのリストです。セミコロンで区切られた \<Document Definition Name>\\\<Section Name> 形式のエントリが含まれます。このリストは変更せずに、<a href="/ja/flexi-capture/appendix/scripts/imatchinginfo">IMatchingInfo</a> オブジェクトに <strong>DefinitionsList</strong> パラメーター (IMatchingInfo::DefinitionsList) として渡すことができます。これらの結果をマッチングスクリプトに渡す方法については、以下の <em>Pass classification results to a Before matching script</em> を参照してください。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>PageType</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts/tpageclassification">TPageClassificationType</a>
        </p>
      </td>

      <td>
        <p>読み取り専用</p>
      </td>

      <td>
        <p>ページの型</p>
      </td>
    </tr>
  </tbody>
</table>

<div id="pass-classification-results-to-a-before-matching-script">
  ## 分類結果をマッチング前スクリプトに渡す
</div>

マッチしたセクションのリストを `IMatchingInfo` **DefinitionsList** パラメーターとして [Before matching](/ja/flexi-capture/appendix/scripts/before-matching) スクリプトに渡すには、次のようにします。

1. スクリプトベースのカスタムステージを作成します。
2. このステージに、ページを分類し、分類結果を登録パラメーターに書き込むスクリプトを記述します。
3. [Before matching](/ja/flexi-capture/appendix/scripts/before-matching) スクリプトに、登録パラメーターが指定されている場合はそこから分類結果を使用するコードを記述します。

<Note>
  分類結果を [Before matching](/ja/flexi-capture/appendix/scripts/before-matching) スクリプトに渡す場合は、ページがスクリプトによって繰り返し分類されないよう、**IMatchingInfo.ForceMatch** フラグを **false** に設定してください。
</Note>
