ImagePixelType

Description

Returns the pixel type of the current image. This is a read-only property.

Syntax

.ImagePixelType;

Remarks

Please note the property is only valid in OnPreTransfer and OnPostTransfer event.

Possible values are

Values PixelType
EnumDWT_PixelType.TWPT_BW (0) BW
EnumDWT_PixelType.TWPT_GRAY (1) GRAY
EnumDWT_PixelType.TWPT_RGB (2) RGB
EnumDWT_PixelType.TWPT_PALLETE (3) PALETTE
EnumDWT_PixelType.TWPT_CMY (4) CMY
EnumDWT_PixelType.TWPT_CMYK (5) CMYK
EnumDWT_PixelType.TWPT_YUV (6) YUV
EnumDWT_PixelType.TWPT_YUVK (7) YUVK
EnumDWT_PixelType.TWPT_CIEXYZ (8) CIEXYZ
EnumDWT_PixelType.TWPT_LAB (9) LAB
EnumDWT_PixelType.TWPT_SRGB (10) SRGB
EnumDWT_PixelType.TWPT_SCRGB (11) SCRGB
EnumDWT_PixelType.TWPT_INFRARED (16) INFRARED

When an error occurs, check ErrorCode or ErrorString for error information.

Is this page helpful?

Leave a Reply

Your email address will not be published.