Keyoti RapidSpell Desktop .NET API Docs
InitializeDeflate Method (level, bits, wantRfc1950Header)
APIKeyoti.RapidSpell.CompressionZlibCodecInitializeDeflate(CompressionLevel, Int32, Boolean)
Keyoti RapidSpell Desktop .NET
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel, the specified number of window bits, and the explicit flag governing whether to emit an RFC1950 header byte pair.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public int InitializeDeflate(
	CompressionLevel level,
	int bits,
	bool wantRfc1950Header
)
public int InitializeDeflate(
	CompressionLevel level,
	int bits,
	bool wantRfc1950Header
)
Public Function InitializeDeflate ( 
	level As CompressionLevel,
	bits As Integer,
	wantRfc1950Header As Boolean
) As Integer
Public Function InitializeDeflate ( 
	level As CompressionLevel,
	bits As Integer,
	wantRfc1950Header As Boolean
) As Integer
public:
int InitializeDeflate(
	CompressionLevel level, 
	int bits, 
	bool wantRfc1950Header
)
public:
int InitializeDeflate(
	CompressionLevel level, 
	int bits, 
	bool wantRfc1950Header
)
member InitializeDeflate : 
        level : CompressionLevel * 
        bits : int * 
        wantRfc1950Header : bool -> int 
member InitializeDeflate : 
        level : CompressionLevel * 
        bits : int * 
        wantRfc1950Header : bool -> int 
Parameters
level (CompressionLevel)
The compression level for the codec.
bits (Int32)
the number of window bits to use. If you don't know what this means, don't use this method.
wantRfc1950Header (Boolean)
whether to emit an initial RFC1950 byte pair in the compressed stream.
Return Value
Int32
Z_OK if all goes well.

Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412