The leading provider of version control solutions and TWAIN SDKs
  • Contact us









GetImageWidth Method

Description

Returns the width (pixels) of the selected image. This is a read-only property.

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

Data type

Long

Syntax

ObjectName. GetImageWidth(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 width of the image.

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

ImageLength property,