This property sets the filename and path where the information file is saved.

[C++Builder]   imagekitcontrolname->Scan->InformationFileName[ = UnicodeString ]
[Delphi]   imagekitcontrolname.Scan.InformationFileName[ = String ]

Property Value

The filename and path of the information file

Explanation

The InformationFileName property sets the filename and path where the information file is saved.

Using the InformationFileName property, you can save the settings from the manufacturer's scan interface (UI) into an information file so that those settings can be used thereafter. It is necessary to display the manufacturer's UI at least once, but after the property values from the UI have been saved in the information file, you can scan using the settings from the information file.

Here is some sample code to illustrate:

Ret: Boolean;
VImageKit1.Scan.UiMode := vikScanSetUIOnly;
VImageKit1.Scan.InformationFileName := 'ui.dat';
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';
Ret := VImageKit1.Scan.Exec();

Setting this value

This value can be set at runtime.

Retrieving this value

This value cannot be retrieved.

 

The ImageKit9 VCL is a product created by Newtone Corporation