Skip to main content
This object corresponds to a processing document. A document may be a part of a batch or be a separate instance. A document as a part of a batch is received when processing data within a project. The collection of such documents are represented by the Documents object. The newly created Document object contains a collection of document pages which are accessible through the Pages property. During document definitions matching data fields are found in the document. You can access these fields via the Sections property, which refers to the sections of the document. These sections have child fields. Each child field can be either a group of fields (and has own child fields), or a simple field (without child fields). See Working with Recognized Data for details. After data extraction and recognition the document can be exported. If errors occur during document processing, information about these errors can be found in the corresponding properties of the Document object (AssemblingErrors, RuleErrors). To work with the document, access its structure, parameters, etc., you should first open it using the Open method. When you finished your work with such document, close it with the help of the Close method. See Using a Document Object within a Project for details. The Document object supports the IField interface: the whole document can be considered as the top-level field which contains all the data fields of the document. Support of this interface means that you can treat the Document object as the Field object.

Properties

Methods

Output parameter

This object is the output parameter of the Item, FindById, Merge, AddNewFromPage methods of the Documents object.

Input parameter

This object is the input parameter of the following methods:

Samples

This object is used in the following code samples: Classification, Invoices Processing and Training.

See also

Working with Recognized Data Using a Document Object within a Project Documents Working with Properties