Specifies the compression level used for archive updating.
[C#]
public ComponentAce.Compression.Archiver.CompressionLevel CompressionLevel { get; set; }
public enum CompressionLevel
{
None,
Fastest,
Normal,
Max
}
[VB.NET]
Public Property CompressionLevel As CompressionLevel
Public Enum CompressionLevel
' Fields
Fastest = 1
Max = 3
None = 0
Normal = 2
End Enum
Description
This property determines compression level for adding, moving or updating files. If you need only to store files, set CompressionLevel to None. Compression rate of the file stored within archive also depends on selected CompressionAlgorithm.
Set CompressionLevel to desired value before adding, moving or updating files.
CompressionLevel can be set to any of the following values:
Value
|
Meaning
|
None
|
There is no compression
|
Fastest
|
The fastest compression level and low compression rate
|
Normal
|
Normal compression level. Slower compression and better compression rate than Fastest
|
Max
|
Slow compression and maximum compression rate
|
Note: The CompressionLevel and CompressionMode properties influence each other. Setting one automatically determines value for the other.