This property sets the scanning mode. This property is only enabled when using a custom-built user interface (UiMode=2).

[Visual Basic]   imagekitcontrolname.Scan.ScanMode[ = ScanModeConstants ]
[Visual C++]     [ long = ]imagekitcontrolname.GetScan().GetScanMode()
imagekitcontrolname.GetScan().SetScanMode(long Val)
[VB.NET]   imagekitcontrolname.Scan.ScanMode[ = ImageKit10(A)Lib.ScanModeConstants ]
[C#.NET]   imagekitcontrolname.Scan.ScanMode[ = ImageKit10(A)Lib.ScanModeConstants ]

* ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

Property Value

Value Explanation
0 Document plate (Default) (transmissive or reflective)
1 ADF Simplex (The original images in the digital camera) (transmissive or reflective)
2 ADF Duplex (transmissive or reflective)
3 The original images in the digital camera
4 The original images in the digital camera (using an array)
5 The thumbnail images in the digital camera
6 The thumbnail images in the digital camera (using an array)
7 Positive film, using film holder
8 Positive film, using film area guide
100 Manufacturer provided UI using settings from information file

The following constants can be used: (ikScanDOC = 0, ikScanADF1 = 1, ikScanADF2 = 2, ikScanCAM = 3, ikScanCAMArray = 4, ikScanCAMThumb = 5, ikScanCAMThumbArray = 6, ikPositiveFilm1 = 7, ikPositiveFilm2 = 8, ikInformationFile = 100)

Explanation

The ScanMode property sets the scanning mode. The default value is 0 (document plate). This property is enabled when the UiMode is 2 (ikScanNONUI). When the ScanMode property is 4 or 6, the array values passed to the Exec or the ExecVariant method are enabled, otherwise these array values are disabled. To preserve compatiblilty with the ImageKit5, the orginal images may be retrived from the digital camera by setting the ScanMode property to 1 and the XResolution property to 0.

Values of 7(ikPositiveFilm1) and 8(ikPositiveFilm2) are enabled when using some Epson scan device drivers. 8(ikPositiveFilm2) can be used only when using drivers supporting film area guide. When using value 100, be sure to set the path to the information file in the InformationFileName property.

Note: Even if the scan device being used supports duplex scanning, some scan drivers will not fully support duplex scanning when the when the user interface is suppressed (UiMode=2).

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]

Epson scanner's positive film scanning and scanning with the manufacturer's user interface via information file are new capabilities in Ik8.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation