ZipOutputStream.SetLevel Method

SharpZip Compression Library

SharpZip Compression Library

ZipOutputStream.SetLevel Method 

Sets default compression level. The new level will be activated immediately.

public void SetLevel(
   int level
);

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Level specified is not supported.

See Also

ZipOutputStream Class | ICSharpCode.SharpZipLib.Zip Namespace