Item Method
This method provides access to a single element of an ABBYY FlexiCapture SDK collection. Each ABBYY FlexiCapture SDK collection uses this method.
Syntax
Visual Basic .NET
Function Item(Index As Integer) As <ObjectType>
C++
HRESULT Item(
int Index,
<InterfaceType>** Result
);
Parameters
- Index
- [in] This variable contains the index of the element that is accessed via this method. It must be in the range from 0 to the Number of elements - 1, where the number of elements may be received from the Count property of the same collection.
- ObjectType
- [out, retval] The type of objects in collection. For example, for the Batches collection this type is Batch.
- Result
- [out, retval] A variable of type <InterfaceType>* that receives a pointer to the interface of the collection element. Result must not be NULL. *Result is guaranteed to be non-NULL after a successful method call for all collections except Pages. Item method can return NULL if the item of the Pages object is not a Page, but a Document.
InterfaceType is the type of the interface of the objects forming the collection.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
Remarks
The following objects provide this method:
- AssemblingErrors
- Batches
- BatchItems
- BatchTypes
- BlockDefinitions
- Blocks
- BlocksCollection
- BlockTypesCollection
- BusinessUnitRecords
- CheckmarkGroupBlock
- ClassificationTrainingBatches
- ClassificationTrainingDocuments
- ClassificationTrainingPages
- Countries
- DataSets
- DataSetTableColumns
- DataSetTableRecords
- DocumentDefinitions
- Documents
- EnvironmentVariables
- ExportProfiles
- ExtractionModels
- FieldDefinitions
- FieldInstances
- FieldRegions
- Fields
- FieldValuesCollection
- GroupLanguage
- HotFolderProfiles
- ImageEnhancementProfiles
- IntsCollection
- InvoiceFeatures
- InvoiceLanguages
- KeywordLists
- LinksToSections
- PageClasses
- PageDefinitions
- Pages
- PredefinedLanguages
- RejectedDataSetRecords
- RegionsCollection
- RegistrationParameters
- RuleErrors
- ScanSources
- SectionDefinitions
- SectionDefinitionsCollection
- StatusReasons
- StatusValues
- StringsCollection
- TableColumns
- Taxes
- TaxGroups
- TextRegions
- TextsCollection
- VendorRecords
- VerificationGroup
- VirtualFileSystemNodes
See also
15.08.2023 13:19:30