Compression Property

Summary

Gets or sets the compression to be used while performing data transfer from WIA source.

Syntax
C#
VB
C++
public WiaCompressionMode Compression { get; set; } 
  
Public Property Compression As WiaCompressionMode 
public: 
property WiaCompressionMode Compression { 
   WiaCompressionMode get(); 
   void set (    WiaCompressionMode ); 
} 

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

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

Leadtools.Wia Assembly