Xceed .NET Libraries Documentation
CompressionLevel Property (ZipItemLocalHeader)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipItemLocalHeader Class : CompressionLevel Property
Gets or sets the compression level used to compress the file.
Syntax
'Declaration
 
Public Property CompressionLevel As CompressionLevel
'Usage
 
Dim instance As ZipItemLocalHeader

Dim value As CompressionLevel

 

instance.CompressionLevel = value

 

value = instance.CompressionLevel
public CompressionLevel CompressionLevel {get; set;}

Property Value

A value indicating the CompressionLevel level used to compress the file.
Remarks

The compression level only applies to the Deflated and Deflated64 compression methods.  It does not apply to the BZip2, BWT, or PPMd compression methods. When EncryptionMethod is set to WinZipAes, the compression level cannot be read with this property.

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

ZipItemLocalHeader Class
ZipItemLocalHeader Members