This property sets the scanning mode. This property is only enabled when using a custom-built user interface (UiMode=2).
imagekitcontrolname.GetScan().SetScanMode(long Val)
* ImageKit9ALib refers to the ANSI version, ImageKit9Lib 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.