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

# IMatchingInfo

> IMatchingInfo object in FlexiCapture scripts: control Document Definition matching on a page with DefinitionsList, ForceMatch, and NeedRecognition.

## What it does

Stores parameters of matching Document Definitions and sections on a 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>DefinitionsList</p></td><td><p>string</p></td><td><p>Read/write</p></td><td><p>The list of sections and Document Definitions to be matched on the page divided by semicolon.</p><p>Document Definitions names and section names are specified in the form of \<DefinitionName> or \<DefinitionName>\\\<SectionName> respectively. Only existing sections and Document Definitions can be used. For example, the first section of the sample Banking\_eng is specified as follows: Banking\_eng\Page 1.</p></td></tr><tr><td><p>ForceMatch</p></td><td><p>bool</p></td><td><p>Read/write</p></td><td><p>Specifies whether to force-match the sections. The flag can be set to <strong>true</strong> only if no more than one section is set. If the section list is empty and the flag is set to <strong>true</strong>, the page will be marked as an annex page which does not need recognition.</p></td></tr><tr><td><p>MaxPagesToMatch</p></td><td><p>int</p></td><td><p>Read/write</p></td><td><p>Specifies the maximum number of pages with which the multi-page sections may be matched. 0 means that there are no restrictions.</p></td></tr><tr><td><p>NeedRecognition</p></td><td><p>bool</p></td><td><p>Read/write</p></td><td><p>Specifies whether fields within the section need recognition. If the flag is set to <strong>false</strong>, fields will not be recognized after matching.</p></td></tr></tbody></table>

<Note>
  For the page to be recognized with all sections, do not modify the **DefinitionsList** property. If the **DefinitionsList** property is empty and the **ForceMatch** flag is not set, the page will not be recognized and the error message "No Document Definitions to match" will be logged. If the **ForceMatch** flag is set to true, the page will be marked as an annex page.
</Note>
