> ## 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 stores page classification results in FlexiCapture scripts, exposing matched sections and page type for use in matching scripts.

## What it does

Stores information about results of classification of the page.

<Note>
  This object is not available on the Web Verification Station for checking rules locally.
</Note>

## Properties

<table width="100%"><thead><tr><th style={{textAlign: 'left'}}><p><strong>Name</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Type</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Access</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p>MatchedSections</p></td><td><p>string</p></td><td><p>Read-only</p></td><td><p>The list of sections that can be matched. Contains entries in the form of \<Document Definition Name>\\\<Section Name> divided by semicolon. This unmodified list can be passed to the <a href="/flexi-capture/appendix/scripts/imatchinginfo">IMatchingInfo</a> object as the <strong>DefinitionsList</strong> parameter (IMatchingInfo::DefinitionsList). To pass these results to a matching script, see <em>Pass classification results to a Before matching script</em> below.</p></td></tr><tr><td><p>PageType</p></td><td><p><a href="/flexi-capture/appendix/scripts/tpageclassification">TPageClassificationType</a></p></td><td><p>Read-only</p></td><td><p>The type of the page</p></td></tr></tbody></table>

## Pass classification results to a Before matching script

To pass the matched-sections list to the [Before matching](/flexi-capture/appendix/scripts/before-matching) script as the `IMatchingInfo` **DefinitionsList** parameter:

1. Create a custom stage based on script.
2. In this stage, write a script which classifies pages and writes classification results to registration parameters.
3. In the [Before matching](/flexi-capture/appendix/scripts/before-matching) script, write the code which uses classification results from the registration parameter if the registration parameter is specified.

<Note>
  When passing classification results to the [Before matching](/flexi-capture/appendix/scripts/before-matching) script, set the **IMatchingInfo.ForceMatch** flag to **false** so that pages are not classified repeatedly with a script.
</Note>
