Visual Basic (Declaration) | |
---|---|
Public Overloads Function InitializeDeflate( _ ByVal level As CompressionLevel _ ) As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ZlibCodec Dim level As CompressionLevel Dim value As Integer value = instance.InitializeDeflate(level) |
C# | |
---|---|
public int InitializeDeflate( CompressionLevel level ) |
C++/CLI | |
---|---|
public: int InitializeDeflate( CompressionLevel level ) |
Parameters
- level
- The compression level for the codec.
Return Value
Z_OK if all goes well. The codec will use the maximum window bits (15) and the specified CompressionLevel. It will emit a ZLIB stream as it compresses.
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