Returns or sets the transfer mode. Please set the value of transfer mode in enum TWICapSetupXFer.

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

Syntax

C#
public TWICapSetupXFer TransferMode { get; set; }
Visual Basic
Public Property TransferMode As TWICapSetupXFer
	Get
	Set

Remarks

The default value of the TransferMode property is TWSX_NATIVE (0). For DISK FILE mode, since it is not required by TWAIN, the application needs to make sure it is supported by the current Source. One way to do this is checking the TransferMode property after OpenSource() to see if it is still TWSX_FILE.

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