Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0    Statistic  


Restrict recognition to a sub-rectangle of the image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
OCR 2.9 Yes Yes Yes Yes Yes
MBS( "OCR.SetRectangle"; x; y; width; height )   More


Parameter Description Example value
x The x coordinate. 0
y The y coordinate. 0
width The width of the rectangle. 100
height The height of the rectangle. 100


Returns OK on success.


Restrict recognition to a sub-rectangle of the image.
Call after SetImage. Each SetRectangle clears the recogntion results so multiple rectangles can be recognized with the same image.


Set Rectangle to 800x600:

MBS( "OCR.SetRectangle"; 0; 0; 800; 600 )

Created 18th August 2014, last changed 18th August 2014

OCR.SetPageSegMode   -   OCR.SetResolution

Feedback: Report problem or ask question.

MBS Xojo Plugins