Dynamsoft Home|Product Home

ImageWidth Property

Description

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

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

กก

กก

กก