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

CompressionMode Property






Gets or sets the compression type to use when transferring data from the current TWAIN source. This property is valid only if the TransferMode property is set to TwainTransferMode.Buffer.
Syntax
public TwainCompressionMode CompressionMode {get; set;}
'Declaration
 
Public Property CompressionMode As TwainCompressionMode
'Usage
 
Dim instance As TwainTransferOptions
Dim value As TwainCompressionMode
 
instance.CompressionMode = value
 
value = instance.CompressionMode
public TwainCompressionMode CompressionMode {get; set;}
 get_CompressionMode();
set_CompressionMode(value);
public:
property TwainCompressionMode CompressionMode {
   TwainCompressionMode get();
   void set (    TwainCompressionMode value);
}

Property Value

The memory compression type to be used when the transfer mode is TwainTransferMode.Buffer.
Remarks
To update this property with the current value, call the TwainSession.TransferOptions property.
To set the compression type, assign a new value to this property and call the TwainSession.TransferOptions property.
Example
For an example, refer to TwainSession.TransferOptions.
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

TwainTransferOptions Structure
TwainTransferOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

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