CompressionMode Property

Summary

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
C#
VB
C++
public TwainCompressionMode CompressionMode { get; set; } 
Public Property CompressionMode As TwainCompressionMode 
public: 
property TwainCompressionMode CompressionMode { 
   TwainCompressionMode get(); 
   void set (    TwainCompressionMode ); 
} 

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 TransferOptions property. To set the compression type, assign a new value to this property and call the TransferOptions property.

Example

For an example, refer to TransferOptions.

Requirements

Target Platforms

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

Leadtools.Twain Assembly