This property sets whether the scan driver's user interface is used when scanning or if a custom built user interface is used.

[Visual Basic]   imagekitcontrolname.Scan.UiMode[ = ScanUiModeConstants ]
[Visual C++]     [ long = ]imagekitcontrolname.GetScan().GetUiMode()
imagekitcontrolname.GetScan().SetUiMode(long Val)
[VB.NET]   imagekitcontrolname.Scan.UiMode[ = ImageKit9(A)Lib.ScanUiModeConstants ]
[C#.NET]   imagekitcontrolname.Scan.UiMode[ = ImageKit9(A)Lib.ScanUiModeConstants ]

* ImageKit9ALib refers to the ANSI version, ImageKit9Lib refers to the Unicode version.

Property Value

Value Explanation
0 The scan device manufacturer's user interface is displayed. It is not closed after the scan is complete (Default)
1 The scan device manufacturer's user interface is displayed. It is closed after the scan is complete
2 The scan device manufacturer's user interface is suppressed. A custom built user interface is used
3 The scan device manufacturer's user interface is displayed and a value is set but scanning is not performed.

The following constants can be used: (ikScanUI = 0, ikScanUICLOSE = 1, ikScanNONUI = 2, ikScanSetUIOnly = 3)

Explanation

The UiMode property sets whether the scan driver's user interface is used when scanning or if a custom built user interface is used. The default value is 0 (ikScanUI).

It is necessary to set the UiMode property before executing the Exec or ExecVariant methods.

To check whether the manufacturer's user interface can be suppressed or it can be displayed and set without scanning, please use the IsCapSupported or the IsCapSupportedVariant methods.

Setting this value

  This value can be set at runtime.

Retrieving this value

  This value can be retrieved at runtime.

[Differences from the ImageKit7 ActiveX]

Scanning with the manufacturer's user interface via information file is now possible in Ik8. The information file is set via the InformationFileName property.

The ImageKit9 ActiveX is a product created by Newtone Corporation