| Visual Basic (Declaration) | |
|---|---|
Public Function SetDeflateParams( _ ByVal level As CompressionLevel, _ ByVal strategy As CompressionStrategy _ ) As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ZlibCodec Dim level As CompressionLevel Dim strategy As CompressionStrategy Dim value As Integer value = instance.SetDeflateParams(level, strategy) | |
| C# | |
|---|---|
public int SetDeflateParams( CompressionLevel level, CompressionStrategy strategy ) | |
| C++/CLI | |
|---|---|
public: int SetDeflateParams( CompressionLevel level, CompressionStrategy strategy ) | |
Parameters
- level
- the level of compression to use.
- strategy
- the strategy to use for compression.
Return Value
Z_OK if all goes well.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