Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DocumentCameraScan.IsInitialized
Checks whether initialization is done.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DocumentCameraScan | 10.0 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "DocumentCameraScan.IsInitialized" )
Parameters
none
Result
Returns 1, 0 or error.
Description
Checks whether initialization is done.Returns 1 on success or 0 on failure.
Examples
Script to initialize:
# Initialize document camera scanner
#
If [ MBS("DocumentCameraScan.IsInitialized") = 0 ]
Set Variable [ $r ; Value: MBS("DocumentCameraScan.Initialize") ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Failed to initialize" ; $r ]
Else If [ MBS("DocumentCameraScan.Supported") = 0 ]
Show Custom Dialog [ "Not supported on this device." ]
End If
End If
See also
This function is free to use.
Created 6th January 2020, last changed 24th January 2020
DocumentCameraScan.Initialize - DocumentCameraScan.PageCount