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

[Visual Basic]   imagekitcontrolname.Scan.InformationFileName[ = String ]
[Visual C++]     imagekitcontrolname.GetScan().SetInformationFileName(LPCTSTR Val)
[VB.NET]   imagekitcontrolname.Scan.InformationFileName[ = String ]
[C#.NET]   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:

     'Display manufacturer's UI and save the settings in the information file.
     Dim Index(10) As Integer
     ImageKit1.Scan.UiMode = ikScanSetUIOnly
     ImageKit1.Scan.InformationFileName = "ui.dat"
     Ret = ImageKit1.Scan.Exec(Index(0))

     'Use the information file to scan
     Dim Index(10) As Integer
     ImageKit1.Scan.UiMode = ikScanNONUI
     ImageKit1.Scan.ScanMode = ikInformationFile
     ImageKit1.Scan.InformationFileName = "ui.dat"
     Ret = ImageKit1.Scan.Exec(Index(0))

Setting this value

  This value can be set at runtime.

Retrieving this value

  This value cannot be retrieved.

 

The ImageKit9 ActiveX is a product created by Newtone Corporation