What it does
The handler of this event allows you to control what sections or Document Definitions will be matched on each subsequent page and specify the matching order. With this script you can accelerate matching the Document Definition if sections to be matched are known in advance. For example:- it is known that only the first page of the batch may have the Document Definition “Contents”;
- it is known that the given page belongs to a particular section type;
- the order of sections in the documents is known.
When it is launched
The script is launched prior to matching sections on each subsequent page.Parameters
| Name | Type | Access | Description |
|---|---|---|---|
| Document | IDocument | Read-only. Internal* fields of batch documents and pages are unavailable. | The document whose pages are being analyzed |
| Matching | IMatchingInfo | Read/write | The object that specifies some of the matching parameters |
| PageIndex | int | Read-only. Internal* fields of batch documents and pages are unavailable. | The index of the document page to be analyzed |
It is also possible to specify Document Definitions and sections to be matched by using named registration parameters. For details, see Registration Parameters.
