Xceed .NET Libraries Documentation
ComputePPMdOptions Method


Xceed.Compression Assembly > Xceed.Compression Namespace > ManagedPPMdCompressor Class : ComputePPMdOptions Method
The compression level to base the PPMd algorithm property values on.
The allocator size.
The maximum model order.
Method of model restoration if memory is insufficient.
Computes the correct values of the PPMd algorithm properties based on the specified compression level.
Syntax
'Declaration
 
Public Shared Sub ComputePPMdOptions( _
   ByVal level As CompressionLevel, _
   ByRef allocatorSize As Integer, _
   ByRef modelOrder As Byte, _
   ByRef method As ModelRestorationMethod _
) 
'Usage
 
Dim level As CompressionLevel
Dim allocatorSize As Integer
Dim modelOrder As Byte
Dim method As ModelRestorationMethod
 
ManagedPPMdCompressor.ComputePPMdOptions(level, allocatorSize, modelOrder, method)
public static void ComputePPMdOptions( 
   CompressionLevel level,
   out int allocatorSize,
   out byte modelOrder,
   out ModelRestorationMethod method
)

Parameters

level
The compression level to base the PPMd algorithm property values on.
allocatorSize
The allocator size.
modelOrder
The maximum model order.
method
Method of model restoration if memory is insufficient.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ManagedPPMdCompressor Class
ManagedPPMdCompressor Members