Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

ImagePixelType Property

Description

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

Data type

Enumerated Value / Integer

Value Description
TWPT_BW(0) Black and White
TWPT_GRAY(1) Grayscaled 
TWPT_RGB(2 ) RGB

Syntax

ObjectName. ImagePixelType

Remarks

ImagePixelType property, along with other properties about the current image information, is valid only in OnPreTransfer and OnPostTransfer event.

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

ImageBitsPerPixel property, ImageLength property, ImageWidth property, ImageXResolution property, ImageYResolution property

 

 

 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.