When scanning with a custom user interface (UiMode=2), this property sets whether the scan units are determined by the scan device or by the ImageKit.

[C++Builder]   imagekitcontrolname->Scan->UnitFlag[ = short ]
[Delphi]   imagekitcontrolname.Scan.UnitFlag[ = Smallint ]

Property Value

Value Explanation
0 The datasource function is used to determine the scan units (Default)
1 The ImageKit determines the scan units

Explanation

The UnitFlag property sets whether the scan units are determined by the scan device or by the ImageKit. The default value is 0. This property is enabled when the UiMode is vikScanNONUI.

Set this property to 1 when you want to use a unit of measurement that the scan device does not support or when the PaperSize property is set to 0 or less and the RectLeft, RectTop, RectRight, and RectBottom properties are set but the scan is not correct or the scan area is not enabled, etc.

This property is disabled when the XResolution and YResolution properties are -1 and the UnitMode property is vikScanPixel.

Setting this value

This value can be set at runtime.

Retrieving this value

This value cannot be retrieved.

 

The ImageKit10 VCL is a product created by Newtone Corporation