Fields Object (IFields Interface)
This object is a collection of recognized fields. It may be a collection of document sections, or a collection of child fields of a composite field.
Note: When working with recognized data of a document you must take into account that a document may have complex tree-like structure: document consists of sections, sections contain fields and group of fields and all of these may be repeating (contain multiple instances). See Working with Recognized Data for details.
Besides standard collection methods and properties, it contains the FindByName method that allows you to find the field by its name.
The Fields object is a so-called "connectable object". The methods of the Fields object report information about the collection modification through special outgoing interfaces. These interfaces are ICollectionEvents (for C++) and the dispinterface DICollectionEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.
Properties
Name | Type | Description |
---|---|---|
Count | Integer, read-only | Stores the number of elements in the collection. |
Element | Field, read-only | Provides access to a single element of the collection. |
Methods
Name | Description |
---|---|
FindByName | Finds an element by its name. |
Item | Provides access to a single element of the collection. |
Related objects
See also
8/15/2023 1:19:30 PM