Dynamsoft Home|Product Home

PixelType Property

Description

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

Data type

short

Syntax

ObjectName. PixelType

Remarks

Allowed Values PixelType
0 BW
1 GRAY
2 RGB
3 PALETTE
4 CMY
5 CMYK
6 YUV
7 YUVK
8 CIEXYZ

Using this property after calling OpenSource() method and before calling AcquireImage().

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

PixelFlavor property, OpenSource()