LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

Compression Property






Gets or sets the compression to be used while performing data transfer from WIA source.
Syntax
public WiaCompressionMode Compression {get; set;}
'Declaration
 
Public Property Compression As WiaCompressionMode
'Usage
 
Dim instance As WiaDataTransferProperties
Dim value As WiaCompressionMode
 
instance.Compression = value
 
value = instance.Compression
public WiaCompressionMode Compression {get; set;}
 get_Compression();
set_Compression(value);
public:
property WiaCompressionMode Compression {
   WiaCompressionMode get();
   void set (    WiaCompressionMode value);
}

Property Value

The compression to be used while performing data transfer from WIA source. Possible values are (according to Microsoft SDK documentation):

WiaCompressionMode.None

No compression is to be used.

WiaCompressionMode.Rle4

RLE4 compression.

WiaCompressionMode.Rle8

RLE8 compression.

WiaCompressionMode.Group3

Group 3 compression.

WiaCompressionMode.Group4

Group 4 compression.

WiaCompressionMode.Jpeg

JPEG compression.

WiaCompressionMode.Jbig

JBIG compression (only supported in Windows Vista or later).

WiaCompressionMode.Jpeg2000

JPEG 2000 compression (only supported in Windows Vista or later).

WiaCompressionMode.Png

PNG compression (only supported in Windows Vista or later).

For more information about these compression types, please refer to WIA_IPA_COMPRESSION property ID in Microsoft Windows SDK Documentation.

Example
Refer to WiaSession.GetRootItem example.
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

WiaDataTransferProperties Structure
WiaDataTransferProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

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