Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
OCR.SetVariable
Sets a variable.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| OCR | 7.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "OCR.SetVariable"; Name; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Name | The name of the variable. | "test" |
| Value | The text value for this variable. | "123" |
Result
Returns OK or error.
Description
Sets a variable.Examples
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
Blog Entries
Release notes
- Version 7.5
- Added OCR.GetVariable and OCR.SetVariable functions, e.g. to enable number only mode.
Created 2nd November 2017, last changed 2nd November 2017
OCR.SetResolution - OCR.WriteToPDF
Feedback: Report problem or ask question.
Links
MBS Xojo blog