Gets or sets the compression level. Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest). 6 (medium compression and speed) is a default value.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Property CompressionLevel As Integer
	Get
	Set
C#
public int CompressionLevel { get; set; }

Field Value

Compression level.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also