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


Loads a picture from file directly.

Component Version macOS Windows Linux Server iOS SDK
OCR 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "OCR.SetImageFile"; Path )   More


Parameter Description Example
Path The native file path to the image file. "/Users/cs/Desktop/test.jpg"


Returns OK or error.


Loads a picture from file directly.
Optionally you can define area of interest with OCR.SetRectangle function.


Load image from file and define area:

Set Variable [ $r ; Value: MBS( "OCR.SetImageFile"; "/Users/cs/Desktop/phototest.tif") ]
Set Variable [ $r ; Value: MBS( "OCR.SetRectangle"; 0; 0; 1000; 400) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 20th June 2021, last changed 15th July 2021

OCR.SetImageContainer - OCR.SetPageSegMode