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
17.09.2024 15:14:41