Leadtools TWAIN (Leadtools.Twain assembly)

CompressionMode Property

Show in webframe





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:
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

See Also

Reference

TwainTransferOptions Structure
TwainTransferOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.