Xceed.Compression.Silverlight.v6.6 Assembly > Xceed.Compression.LZMA Namespace > LZMAOptions Class : SetTemplate Method |
'Declaration Public Sub SetTemplate( _ ByVal compressionLevel As CompressionLevel _ )
'Usage Dim instance As LZMAOptions Dim compressionLevel As CompressionLevel instance.SetTemplate(compressionLevel)
public void SetTemplate( CompressionLevel compressionLevel )
If CompressionLevel.Lowest is supplied, the dictionary size will be 4k.
If CompressionLevel.Normal is supplied, the dictionary size will be 16MB.
If CompressionLevel.Highest is supplied, the dictionary size will be 32MB.
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