PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of ocrOption variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ocrOption type is used to define all the general options of the native OCR (Optical Character Recognition) system. The characteristics of these options can be defined and modified using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Creation of options
MyOCROptions is ocrOption
 
// Detect only numbers when reading an image
MyOCROptions.OnlyDigit = True
 
OCRParameter(MyOCROptions)
Remarks

Properties specific to the description of ocrOption variables

The following properties can be used to handle the advanced options of the native OCR system:
Property nameType usedEffect
WithSpellingCheckerBoolean
  • True (default value) to enable the spelling checker,
  • False to disable it.
ListWordArray of strings
OnlyDigitBoolean
  • True if the OCR system must return Arabic numerals only,
  • False otherwise.
AccuracyInteger constant
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment