This property sets the scanning mode. This property is only enabled when using a custom-built user interface.

[C++Builder]   imagekitcontrolname->Scan->ScanMode[ = TVIkScanMode ]
[Delphi]   imagekitcontrolname.Scan.ScanMode[ = TVIkScanMode ]

[TVIkScanMode Type]

Unit
     IkInit

type
     TVIkScanMode = (vikScanDOC = 0, vikScanADF1 = 1, vikScanADF2 = 2, vikScanCAM = 3, vikScanCAMArray = 4, ikScanCAMThumb = 5, vikScanCAMThumbArray = 6, vikPositiveFilm1 = 7, vikPositiveFilm2 = 8, vikInformationFile = 100);

Property Value

Value Explanation
vikScanDOC Document plate (Default) (transmissive or reflective)
vikScanADF1 ADF Simplex (The original images in the digital camera) (transmissive or reflective)
vikScanADF2 ADF Duplex (transmissive or reflective)
vikScanCAM The original images in the digital camera
vikScanCAMArray The original images in the digital camera (using an array)
vikScanCAMThumb The thumbnail images in the digital camera
vikScanCAMThumbArray The thumbnail images in the digital camera (using an array)
vikPositiveFilm1 Positive film, using film holder
vikPositiveFilm2 Positive film, using film area guide
vikInformationFile Manufacturer provided UI using settings from information file

Explanation

The ScanMode property sets the scanning mode. The default value is vikScanDOC. This property is enabled when the UiMode is vikScanNONUI. When the ScanMode property is vikScanCAMArray or vikScanCAMThumbArray, the array values passed to the Execute method are enabled, otherwise these array values are disabled. To preserve compatiblilty with the ImageKit5 ActiveX, the orginal images may be retrived from the digital camera by setting the ScanMode property to vikScanADF1 and the XResolution property to 0.

Values of vikPositiveFilm1 and vikPositiveFilm2 are enabled when using some Epson scan device drivers. vikPositiveFilm2 can be used only when using drivers supporting film area guide. When using value vikInformationFile, 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 (When UiMode property is vikScanNONUI).

Setting this value

This value can be set at runtime.

Retrieving this value

This value can be retrieved at runtime.

Differences between the ImageKit7/8/9/10

In VCL the constants contain a "v". In ActiveX, the constants are: ikScanDOC, ikScanADF1, ikScanADF2, ikScanCAM, ikScanCAMArray, ikScanCAMThumb, ikScanCAMThumbArray, ikPositiveFilm1, ikPositiveFilm2, ikInformationFile

 

The ImageKit10 VCL is a product created by Newtone Corporation