IdeaBlade DevForce 2010 Help Reference
InitializeDeflate(CompressionLevel,Int32) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Zlib Namespace > ZlibCodec Class > InitializeDeflate Method : InitializeDeflate(CompressionLevel,Int32) Method



level
The compression level for the codec.
bits
the number of window bits to use. If you don't know what this means, don't use this method.
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel, and the specified number of window bits.

Syntax

Visual Basic (Declaration) 
Public Overloads Function InitializeDeflate( _
   ByVal level As CompressionLevel, _
   ByVal bits As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ZlibCodec
Dim level As CompressionLevel
Dim bits As Integer
Dim value As Integer
 
value = instance.InitializeDeflate(level, bits)
C# 
public int InitializeDeflate( 
   CompressionLevel level,
   int bits
)
C++/CLI 
public:
int InitializeDeflate( 
   CompressionLevel level,
   int bits
) 

Parameters

level
The compression level for the codec.
bits
the number of window bits to use. If you don't know what this means, don't use this method.

Return Value

Z_OK if all goes well.

Remarks

The codec will use the specified number of window bits and the specified CompressionLevel.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.