This property sets the filename and path where the information file is saved.
Property Value
The filename and path of the information file
Explanation
The InformationFileName property sets the information file where the scan settings, set in the scan manufacturer's scan driver interface, are saved. Saved information can be loaded from the InformationFile and used in your custom built scan interface.
To use the InformationFileName property, the scan driver's user interface must be used once but after that all those settings can be loaded into a custom built scan interface. Also, if an infomation file exists containing previous setting information, the setting information is loaded and displayed in the UI (making it possible to check the previously saved contents).
Here is some sample code to illustrate:
Ret: Boolean;
VImageKit1.Scan.UiMode := vikScanSetUIOnly;
VImageKit1.Scan.InformationFileName := 'ui.dat'; //If the file
already exists, the settings will be loaded and displayed in the
UI.
Ret = VImageKit1.Scan.Exec();
//Use the information file to scan
Ret: Boolean;
VImageKit1.Scan.UiMode := vikScanNONUI;
VImageKit1.Scan.ScanMode := vikInformationFile;
VImageKit1.Scan.InformationFileName := 'ui.dat'; //If the file
already exists, the settings will be loaded and displayed in the
UI.
Ret := VImageKit1.Scan.Exec();
Setting this value
This value can be set at runtime.
Retrieving this value
This value cannot be retrieved.