←Select platform

Compression Property

Summary

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

Syntax

C#
VB
C++
public Leadtools.Wia.WiaCompressionMode Compression {get; set;}
Public Property Compression As Leadtools.Wia.WiaCompressionMode
public: 
property Leadtools.Wia.WiaCompressionMode Compression { 
   Leadtools.Wia.WiaCompressionMode get(); 
   void set (    Leadtools.Wia.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Wia Assembly
Click or drag to resize