Skip to main content
This property provides access to a single field of the business card by the type of the field.

Syntax

C++

HRESULT get_FieldByType(
   BusinessCardFieldTypeEnum Type,
   int                       Index,
   IBusinessCardField**      Result
);

C#

IBusinessCardField get_FieldByType(
   BusinessCardFieldTypeEnum Type,
   int                       Index
);

Visual Basic .NET

ReadOnly Property FieldByType( _
  Type As BusinessCardFieldTypeEnum, _
  Index As Integer _
) As IBusinessCardField

Parameters

Type [in] Specifies the type of the field. See the description of the BusinessCardFieldTypeEnum constants. Index [in] Specifies the index of the field in the internal array of the fields of the same type. Must be in range from 0 to IBusinessCard::FieldsCountByType-1. Result [out, retval] A pointer to IBusinessCardField* pointer variable that receives the interface pointer of the output BusinessCardField object.

Return values

This function has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

BusinessCard Business Card Recognition Working with Properties