Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BufferedMemoryCompression Property
See Also 
Leadtools.Twain Namespace > TwainDataTransferProperties Structure : BufferedMemoryCompression Property



Gets and set the compression to be used when having the transfer mode set to be memory.

Syntax

Visual Basic (Declaration) 
Public Property BufferedMemoryCompression As TwainCompressionMode
Visual Basic (Usage)Copy Code
Dim instance As TwainDataTransferProperties
Dim value As TwainCompressionMode
 
instance.BufferedMemoryCompression = value
 
value = instance.BufferedMemoryCompression
C# 
public TwainCompressionMode BufferedMemoryCompression {get; set;}
C++/CLI 
public:
property TwainCompressionMode BufferedMemoryCompression {
   TwainCompressionMode get();
   void set (    TwainCompressionMode value);
}

Property Value

The compression to be used when having the transfer mode set to be memory. Possible values are (according to the TWAIN 2.0 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 TwainProperties.DataTransfer example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also