FindComponent Method of the BusinessCardField Object

This method provides access to a single component of the business card field by the type of this component. The method returns null, if there is no component of the specified type.

Syntax

C++

HRESULT FindComponent(
   BusinessCardFieldComponentTypeEnum Type,
   IBusinessCardFieldComponent**      Result
);
    

C#

IBusinessCardFieldComponent FindComponent( BusinessCardFieldComponentTypeEnum Type );
    

Visual Basic .NET

Function FindComponent(Type As BusinessCardFieldComponentTypeEnum) As IBusinessCardFieldComponent
    

Parameters

Type
[in] Specifies the type of the component. The types of available components depend on the type of the current field. If the specified type of the component is not available for the current field, an error occurs. See the description of the BusinessCardFieldComponentTypeEnum constants for details.
Result
[out, retval] A pointer to IBusinessCardFieldComponent* pointer variable that receives the interface pointer of the output BusinessCardFieldComponent object. If there is no component of the specified type, NULL is returned.

Return values

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

See also

BusinessCardField

Business Card Recognition

Working with Properties

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.