- Create a special language using this method. Set its parameters for recognition of a specific text.
- Assign the created language to ITextRecognitionParams::Language property of the recognition parameters of the corresponding field.
TextRecognitionParams
CreateEmbeddedLanguageByDataType Method of the TextRecognitionParams Object
This method creates a special recognition language, which can be used for recognition of the specified field value type.
It is not always convenient to specify the type of field value (IFieldDefinition::ValueType) as this restricts field values. E.g. if a user enters incorrect data to such field, this will produce an error. To avoid specifying some special type of field value, you may:
