Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

TransferMechanism Property (TwainDataTransferProperties)






Gets or sets transfer mode to be used by the TWAIN source.
Syntax
public TwainTransferMechanism TransferMechanism {get; set;}
'Declaration
 
Public Property TransferMechanism As TwainTransferMechanism
'Usage
 
Dim instance As TwainDataTransferProperties
Dim value As TwainTransferMechanism
 
instance.TransferMechanism = value
 
value = instance.TransferMechanism
public TwainTransferMechanism TransferMechanism {get; set;}
 get_TransferMechanism();
set_TransferMechanism(value);
public:
property TwainTransferMechanism TransferMechanism {
   TwainTransferMechanism get();
   void set (    TwainTransferMechanism value);
}

Property Value

Transfer mode to be used by the TWAIN source. Possible values are (according to the TWAIN 2.0 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 TwainProperties.DataTransfer example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainDataTransferProperties Structure
TwainDataTransferProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.