SynthesizeBusinessCardEx Method of the FRPage Object
This method tries to find business card fields in the specified recognized region using the synthesis parameters. The method returns BusinessCard object.
Important! The region you specify must contain recognized blocks. Therefore, one of the analysis and recognition methods must be called before this method call.
HRESULT SynthesizeBusinessCardEx( IRegion* Region, IBusinessCardSynthesisParams* Params, IBusinessCard** Result );
IBusinessCard SynthesizeBusinessCardEx( IRegion Region, IBusinessCardSynthesisParams Params );
Visual Basic .NET
Function SynthesizeBusinessCardEx(_ Region As IRegion, _ [Params As IBusinessCardSynthesisParams = Nothing] _ ) As IBusinessCard
- [in] Refers to the Region object that specifies the area on image which should be interpreted as a business card. It should be set in coordinates of the deskewed black-and-white plane of the ImageDocument. This parameter may be 0, in which case the whole image is processed.
- [in] The BusinessCardSynthesisParams object that stores parameters of business card synthesis. This parameter may be 0. In this case, the business card is synthesized with default parameters, or, if a profile has been loaded, the parameters set by this profile are used.
- Important! This parameter must be specified when creating a recognition language in any way except the SetPredefinedTextLanguage method of the RecognizerParams object.
- [out, retval] A pointer to IBusinessCard* pointer variable that receives the interface pointer of the BusinessCard output object. This object provides access to the synthesized business card. Result* may be NULL after the call to this method, if no business card is synthesized.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.