Returns or sets the pixel type of acquired images. This is a runtime property.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public TWICapPixelType PixelType { get; set; }
Visual Basic
Public Property PixelType As TWICapPixelType
	Get
	Set

Remarks

Using this property after calling OpenSource() method and before calling AcquireImage().
Allowed ValuesPixelType TWICapPixelType
0BW
1GRAY
2RGB
3PALETTE
4CMY
5CMYK
6YUV
7YUVK
8CIEXYZ

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also