TransferMechanism Property

Summary
Gets or sets transfer mode to be used by the TWAIN source.
Syntax
C#
VB
C++
public TwainTransferMechanism TransferMechanism { get; set; } 
Public Property TransferMechanism As TwainTransferMechanism 
public: 
property TwainTransferMechanism TransferMechanism { 
   TwainTransferMechanism get(); 
   void set (    TwainTransferMechanism ); 
} 

Property Value

Transfer mode to be used by the TWAIN source. Possible values are (according to the TWAIN specification):

If you set the TransferMode property to TransferMechanismMemory and set DumpMemoryBuffersToFile to true, then the Acquire method will write the received buffers (either compressed or uncompressed) to the output directly to the output file specified by the FileName property. If you set the TransferMode property to TransferMechanismMemory and a compression is specified by setting the BufferedMemoryCompression property, and you set the DumpMemoryBuffersToFile property to false, then the Acquire method will decompress the acquired data and generate a result image.

Example

Refer to DataTransfer example.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.