Visual Basic (Declaration) | |
---|---|
Public Property Compression As WiaCompressionMode |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WiaDataTransferProperties Dim value As WiaCompressionMode instance.Compression = value value = instance.Compression |
C# | |
---|---|
public WiaCompressionMode Compression {get; set;} |
C++/CLI | |
---|---|
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):No compression is to be used. | |
RLE4 compression. | |
RLE8 compression. | |
Group 3 compression. | |
Group 4 compression. | |
JPEG compression. | |
JBIG compression (only supported in Windows Vista or later). | |
JPEG 2000 compression (only supported in Windows Vista or later). | |
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.
Refer to WiaSession.GetRootItem example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7