Click or drag to resize

ScannersConfigFileLocation Property

This property is used to get or set the location of the scanner.ini file, which contains the scanners that are configured by the Scanner Wizard.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public SCCFG_LOC ConfigFileLocation { get; set; }

Property Value

Type: SCCFG_LOC
Remarks

Available values for this property are listed under the SCCFG_LOC Enumeration topic.

Application data directory means "Application Data\\<CompanyName> \\<ProductName>", where CompanyName and ProductName are the values passed to the Init method of the Engine object. By default, the ini file stored in the current user's application data directory, consequently, the scanners have to be configured by the Scanner Wizard for each user individually. If the ini file is stored in the all users' application data directory the configured scanners can be used by all users and only a one-time configuration is required. If the ini file is stored in the IPRO binary folder, the set up scanners can be accessed by all users, but - in case of multiple IPRO based applications are shipped - all of them will access the same scanner set (in addition to this limited access users will not be able to configure scanners using the Scanner Wizard).

If this property is modified, the Scanner objects will be destroyed and the Scanners collection is refreshed according to the new value and all scanner settings are set to default values.

During scanning, the scanner drivers may show progress dialogs. The parent of this dialog can be set by the WindowHandle property of the Engine object. If that property is changed, it will not affect scanning unless the scanning subsystem is reinitialized. Reinitializing can be forced by setting this property.

See Also