Moves a specified image.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool MoveImage(
short sSourceImageIndex,
short sTargetImageIndex
) |
| Visual Basic |
|---|
Public Function MoveImage ( _
sSourceImageIndex As Short, _
sTargetImageIndex As Short _
) As Boolean |
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
True indicates success. False indicates failure.
Exceptions
| Exception | Condition |
|---|
| 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