setProfile method of the DataCaptureSettings interface

Defines a profile to be used in the data capture scenario. If the method is not called, a text capture scenario will be performed.

void setProfile( String name );

Parameters

name
Profile name. This parameter is case sensitive. Use the following values:
- "Text" to perform a text capture scenario
- "Custom" to create a new profile. To perform a scenario with a custom profile, create a AUICustomDataCaptureScheme object and set it as a value of the scheme property.
- one of the predefined profiles' name.
 Important!  If the profile is set to "Custom" but no scheme is set by the setScheme method, an error occurs.

02.03.2022 12:59:15

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.