WindowsOCR.Release
------------------

Releases the object and all memory used for it.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsOCR](component_WindowsOCR.md) | [13.1](newinversion131.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WindowsOCR.Release"; OCR ) 

**MBS**( **"WindowsOCR.Release";** /\* Releases the object and all memory used for it. \*/  
**$OCR**) /\* The reference number of the ocr engine. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| OCR | The reference number of the ocr engine. | $ocr |

### Result

Returns OK or error.

### Description

Releases the object and all memory used for it.  
Please call this when you are done with an OCR engine.  
### See also

- [WindowsML.Release](WindowsMLRelease.md)
- [WindowsOCR.List](WindowsOCRList.md)
- [WindowsOCR.New](WindowsOCRNew.md)
- [WindowsOCR.Recognize](WindowsOCRRecognize.md)
- [WindowsOCR.ReleaseAll](WindowsOCRReleaseAll.md)
- [WindowsOCR.Result](WindowsOCRResult.md)
- [WindowsOCR.Text](WindowsOCRText.md)

### Example Databases

- [Win Only/Windows OCR](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Windows%20OCR.shtml#2ScriptAnchor_)

### FileMaker Magazin

- [Ausgabe 2/2023, Seite 29](https://filemaker-magazin.de/neuigkeit/4223-Appetithappen-FMM_202302)

This function is free to use.

Created 22nd January 2023 , last changed 22nd January 2023

  
[WindowsOCR.RecognizerLanguage](WindowsOCRRecognizerLanguage.md) - [WindowsOCR.ReleaseAll](WindowsOCRReleaseAll.md)

[HTML Version](WindowsOCRRelease.shtml)