Twain.IsInitialized
-------------------

Checks if Twain library has been initialized.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [4.2](newinversion42.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.IsInitialized" ) ### Parameters

none

### Result

Returns 1 or 0.

### Description

Checks if Twain 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 [Twain.Initialize](TwainInitialize.md) 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.   
### See also

- [OCR.IsInitialized](OCRIsInitialized.md)
- [TAPI.IsInitialized](TAPIIsInitialized.md)
- [Twain.Initialize](TwainInitialize.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.2pr6](https://www.mbsplugins.de/archive/2014-05-14/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[Twain.IsDSEnabled](TwainIsDSEnabled.md) - [Twain.OpenDS](TwainOpenDS.md)

[HTML Version](TwainIsInitialized.shtml)