This document is archived and information here might be outdated.  Recommended version.


IZlibCompression.CompressByLevel Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IZlibCompression.CompressByLevel Method

Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best.

[Visual Basic .NET]
Public Sub CompressByLevel ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByVal level As Integer, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
[C#]
public void CompressByLevel (
    int inSize,
    ref Byte& pInBuff,
    ref int level,
    ref int pOutSize,
    ref Byte& pOutBuff
);
[C++]
HRESULT CompressByLevel(
  long inSize,
  Byte* pInBuff,
  long level,
  long* pOutSize,
  Byte* pOutBuff
);
[C++]

Parameters inSize [in] inSize is a parameter of type long pInBuff [in] pInBuff is a parameter of type Byte level [in] level is a parameter of type long pOutSize [in, out] pOutSize is a parameter of type long pOutBuff [in, out] pOutBuff is a parameter of type Byte

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IZlibCompression Interface