Dynamsoft Home|Product Home

ImageLength Property

Description

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

Data type

Long

Syntax

ObjectName. ImageLength


Remarks

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

ImageLength 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, ImageWidth property, ImageXResolution property, ImageYResolution property