| Back | Main view | Parent doc

Using and customizing IMiS/Scan through COM object model

IMiS client COM object model


IMiSClient namespace:
Application
Profiles
Documents
UIControl
IMiSSession object deprecated

Description of Application object:

Main object for accessing IMiS client application. When this object is created IMiS client application is started in hidden mode.
var SecondaryNodes: PSafeArray; const Crypto: ICryptoContext): IMiSStorage :
Extended version of OpenIMiSARCStorage used for accessing IMiS/Arc server with crypto security enabled. Two new parameters:
1. SecondaryNodes: array of IMiS/Arc servers in cluster
2. Crypto: Interface for settings crypto contexts parameters
Description of CryptoContext object:

Description of UIControl object:

Description of Documents object:


Description of Profiles object:


Description of Profile object:

Scope enumerators:
Description of GeneralSettings object:


Description of ScannerSettings object:


Description of ScanSettings object:


Description of ViewSettings object:

Description of DocumentSettings object:

IMiSFileType enumerators:
Description of SendSettings object:


Description of PrintSettings object:


Description of AnnotationSettings object:

AnnotationFormat enumerators:

Description of OCRSettings object:

OCRFileFormat enumerators: OCRLayoutType enumerators: OCROutputDisposition enumerators: OCRTextType enumerators:
OCRErrorMarkingLevel enumerators: OCRFileFormat enumerators: OCRLayoutType enumerators: OCROutputDisposition enumerators: OCRTextType enumerators: OCRPageSynthesis enumerators: OCRErrorMarkingLevel enumerators: OCRBarcodeType enumerators: OCRBarcodeOrientation enumerators:
OCRBarcodeType enumerators: OCRBarcodeOrientation enumerators:




Description of IMiSStorage object:

IMiSStorage is an object which defines methods and fields describing a Storage System object with which IMiS Imaging
Client can operate on. The properties on IMiSStorage objects are StoreType and StoreInfo which are used to operate on IMiSDocument object.

Store Type defines an storage system ID. Currently IMiS Imaging Client uses following known Storage Types:
STORETYPE_FILESYSTEM = Local/Remote File System Storage
STORETYPE_IMISARC = IMiS/ARChive Storage Server
STORETYPE_LNDIMSS = Lotus Notes Document Imaging Mass Storage Server (LN:DI MSS)
STORETYPE_DDOC = IBM Domino Document Manager
STORETYPE_ODMA = ODMA compliant Storage Server
STORETYPE_CM = IBM DB2 Content Manager Server
Description of IMiSDocumentEvents:
Description of IMiSRecognizedDocumentEvents:

Description of IMiSErrorCodes:

Returns the IMiS Imaging Client COM Error Code. Each Code represents a different error state. The following table should be used to further determine the cause of the error:
Code
ErrorDescription
-1
Unknown errorUnexpected error / Error for which cause is not determined. See "imis.log" file for more info.
-2
Invalid parameter for storageOne of the parameters for accessing storage is not valid. Probably incorrect values for input parameters. (usually points to programming error)
-3
UnsupportedDocument image format is unsupported by PixTools. / COM: User wants to use unsupported method in IMiSClient.
(Trying to scanning with IMiS/View)
1
User cancelThe user has gracefully canceled the operation (e.g.: Did not save the object in IMiS/Scan Imaging Client when called with scan() method).
2InconsistentDocument is partly saved. During work document was saved, changed and not saved on close.
3
Time-outWaitForExit method in Application COM object has time-outed.
10
Storage engine initStorage subsystem initialization error. Common causes of this error are:
a) ODMA subsystem is requested but not available.
b) IMiS/ARChive Client Library is required but not available. (iarcli.dll/libiarcli.so)
11
Object not foundRequested object does not exists or is unavailable. Common causes for this error are:
a) Object has been deleted.
b) Storage Server Volume where this object resides is unmounted.
c) User requested an object with invalid ID.
12
Out of memoryThe system has run out of memory for the requested operation.
13
Read errorSystem has reported a read error on the requested object. This object will not be available to the user.
14
Write errorSystem has reported a write error for the object which is being saved. This object should be considered UNSAVED! Common causes for this error are:
a) Storage System has run Out Of Space an all mounted volumes.
b) Storage System was unable to complete the save operation due to a system error.
15
Invalid accessThe user has insufficient right to complete the requested operation on this object. Common causes for this error are:
a) When using IMiSODMAStorage object: The user has insufficient rights to read/write/create/modify an object.
b) When using IMiSFileSystemStorage object: The user has insufficient rights on the set storage space.
17
Log message write errorError while writing message to action log.
18
Log entry write errorError while writing entry to action log.
19
Log query errorError while sending log query to action log.
-201
Invalid storageThis error is a special case of "Invalid parameter". Common causes for this error are:
a) When using IMiSARCStorage object: Invalid Profile or Object MIME type used. Storage System reported that the requested Profile for storage and/or objects MIME type are unregistered.
-101
Invalid TIFF pageRequested page from tiff image does not exist.
61523
Network problemNo connection to storage provider or storage provider is not running.


| Back | Main view | Parent doc