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

[Visual Basic]   imagekitcontrolname.Scan.Threshold [ = Integer ]
[Visual C++]     imagekitcontrolname.GetScan().SetThreshold(short Val)
[VB.NET]   imagekitcontrolname.Scan.Threshold [ = Short ]
[C#.NET]   imagekitcontrolname.Scan.Threshold [ = short ]

Property Value

From 0 to 255 (Default value is 128)

Explanation

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

The Threshold property requires that the PixelType property be 0 (ikScanPixelBW) and the BitDepthReduction property be 0 (set to threshold value). For scan devices that use brightness instead of threshold, the Brightness property value will be used.

Note: This property is disabled for digital cameras and scanners that do not support this function. The possible setting values supported by a scan device can be retrieved using the GetCapRange, the GetCapRangeVariant, the GetCapEnum or the GetCapEnumVariant method.

Setting this value

  This value can be set at run-time.

Retrieving this value

  This value cannot be retrieved.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation