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

GetImageBitDepth Method

Description

Returns the pixel bit depth of the selected image.

Data type

Short

Syntax

ObjectName. GetImageBitDepth(short sImageIndex)

Parameters

short sImageIndex: specifies the index of the image. The index is 0-based. 

Remarks

-1 is returned, if the Source doesn't know the pixel bit depth of the image. (handhold scanners may do this).

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, ImagePixelType property, ImageLength 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.