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.IsInitialized

Checks if OCR library has been initialized.

Component Version macOS Windows Linux Server FileMaker iOS SDK
OCR 4.2 Yes Yes Yes Yes Yes
MBS( "OCR.IsInitialized" )   More

Parameters

none

Result

Returns 1 or 0.

Description

Checks if OCR library has been initialized.
If value is 1, everything is okay.
If value is zero, the library is not initialized and you need to call OCR.Initialize function.
On a hosted database this function is better than using a global variable, as the variable can't see if initialization was made on server or client side.

Examples

Initialize on demand:

If [MBS("OCR.IsInitialized") ≠ 1]
    Set Variable [$r; Value:MBS( "OCR.Initialize"; "/Library/FileMaker Server/"; "eng")]
End If

See also

Blog Entries

Created 18th August 2014, last changed 7th July 2016


OCR.Initialize   -   OCR.Language

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat