OCR.SetResolution
-----------------

Set the resolution of the source image in pixels per inch.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [OCR](component_OCR.md) | [5.1](newinversion51.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "OCR.SetResolution"; Resolution ) 

**MBS**( **"OCR.SetResolution";** /\* Set the resolution of the source image in pixels per inch. \*/  
**$Resolution**) /\* The new resolution value in pixel per inch.e.g. 72 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Resolution | The new resolution value in pixel per inch. | 72 |

### Result

Returns OK or error.

### Description

Set the resolution of the source image in pixels per inch.  
This helps to calculate font size information in results.   
Call this after [OCR.SetImage](OCRSetImage.md).  
### See also

- [OCR.SetImage](OCRSetImage.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.1pr6](https://www.mbsplugins.de/archive/2015-04-23/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st April 2015 , last changed 22nd April 2015

  
[OCR.SetRectangle](OCRSetRectangle.md) - [OCR.SetVariable](OCRSetVariable.md)

[HTML Version](OCRSetResolution.shtml)