BufferedMemoryCompression Property

Summary
Gets and set the compression to be used when having the transfer mode set to be memory.
Syntax
C#
VB
C++
public TwainCompressionMode BufferedMemoryCompression { get; set; } 
Public Property BufferedMemoryCompression As TwainCompressionMode 
public: 
property TwainCompressionMode BufferedMemoryCompression { 
   TwainCompressionMode get(); 
   void set (    TwainCompressionMode ); 
} 

Property Value

The compression to be used when having the transfer mode set to be memory. Possible values are (according to the TWAIN specification): TwainCapabilityValue.CompressionNone No compression is to be used. TwainCapabilityValue.CompressionPackBits Pack Bits compression. TwainCapabilityValue.CompressionGroup31D CCITT Group 3 compression with no End of Line. TwainCapabilityValue.CompressionGroup31DEol CCITT Group 3 compression with End of Line. TwainCapabilityValue.CompressionGroup32D CCITT Group 3 compression (use cap for K Factor). TwainCapabilityValue.CompressionGroup4 CCITT Group 4 compression. TwainCapabilityValue.CompressionJpeg JPEG compression. TwainCapabilityValue.CompressionLzw LZW compression (like gifs). TwainCapabilityValue.CompressionJbig JBIG compression, used mostly for bitonal images. TwainCapabilityValue.CompressionPng PNG compressed. TwainCapabilityValue.CompressionRle4 RLE4 compression. TwainCapabilityValue.CompressionRle8 RLE8 compression. TwainCapabilityValue.CompressionBitFields Bit Fields compression.

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.