Exception | Description |
---|---|
TwainInvalidStateException | Thrown if device is in wrong state. |
TwainDeviceCapabilityException | Thrown if device does not support capability. |
DebuggerException | Thrown if the .NET debugger is used and the function evaluation requires all threads to run. |
Call this property only when device is opened (State == DeviceState.Opened).
Supported values of halftones can be received by the GetSupportedHalftones method.
Important: Value of the BitDepthReductionMode property must be set to the BitDepthReductionMode.Halftones value before usage of this property.
This C#/VB.NET code shows how to apply halftones to images acquired from the device.
Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5