Moves a specified image.

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

Syntax

C#
public bool MoveImage(
	short sSourceImageIndex,
	short sTargetImageIndex
)
Visual Basic
Public Function MoveImage ( 
	sSourceImageIndex As Short,
	sTargetImageIndex As Short
) As Boolean
Visual C++
public:
virtual bool MoveImage(
	short sSourceImageIndex, 
	short sTargetImageIndex
) sealed

Parameters

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

Return Value

Type: Boolean
True indicates success. False indicates failure.

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