Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets a variable.

Component Version macOS Windows Linux Server iOS SDK
OCR 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "OCR.SetVariable"; Name; Value )   More


Parameter Description Example
Name The name of the variable. "test"
Value The text value for this variable. "123"


Returns OK or error.


Sets a variable.


Set variable for white list characters:

MBS( "OCR.SetVariable"; "tessedit_char_whitelist"; "0123456789" )

Set variable for black list characters:

MBS( "OCR.SetVariable"; "tessedit_char_blacklist"; "xyz" )

See also

Release notes

Blog Entries

This function is free to use.

Created 2nd November 2017, last changed 2nd November 2017

OCR.SetResolution - OCR.Version