SetDeflateParams Method (level, strategy)

DotNetZip

Ionic Zip Library v1.9.1.6 SetDeflateParams Method (level, strategy)
ReferenceIonic.ZlibZlibCodecSetDeflateParams(CompressionLevel, CompressionStrategy)
Set the CompressionStrategy and CompressionLevel for a deflation session.
Declaration Syntax
C# Visual Basic Visual C++
public int SetDeflateParams(
	CompressionLevel level,
	CompressionStrategy strategy
)
Public Function SetDeflateParams ( _
	level As CompressionLevel, _
	strategy As CompressionStrategy _
) As Integer
public:
int SetDeflateParams(
	CompressionLevel level, 
	CompressionStrategy strategy
)
Parameters
level (CompressionLevel)
the level of compression to use.
strategy (CompressionStrategy)
the strategy to use for compression.
Return Value
Z_OK if all goes well.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)