TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

ImageWidth Property

Description

Returns how width, in pixels, the image is. This is a runtime, read-only property.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V6.2 Since V6.2 Since V6.4

Data type

Long

Syntax

ObjectName. ImageWidth

Remarks

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

ImageWidth 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, 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 © 2012 Dynamsoft Corporation. All Rights Reserved.