Get the image of a specified index in buffer.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public Image GetImage(
	short sImageIndex
)
Visual Basic
Public Function GetImage ( _
	sImageIndex As Short _
) As Image
Visual C++
public:
virtual Image^ GetImage(
	short sImageIndex
) sealed

Parameters

sImageIndex
Type: System..::..Int16
Specifies the index of the image in buffer. The index is 0-based.

Return Value

Return an Image.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also