This property sets the units of measurement when scanning with a custom built user interface (UserInterface=Suppress).

[Visual Basic] Public Property Unit As Newtone.ImageKit.ScanUnit
[C#] public Newtone.ImageKit.ScanUnit Unit {get; set;}

Property Value

This value is of type ScanUnit

Default value is Inch.

Explanation

The Unit property sets the units of measurement used to set the scanning area. This property is enabled when the UserInterface is Suppress. The Rect property values will use the unit of measurement set in the Unit property.

Although the Unit property is disabled when the UserInterface is NOT Suppress, when scanning, the units of measurement of the scan are returned to this property. To retrieve the values of the Unit property supported by the scan device, execute the GetCapabilityEnumToSingle method.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation