CompressionMethod Property

Used to set the method of compression.

Syntax

int GetCompressionMethod();
int SetCompressionMethod(int iCompressionMethod);

Possible Values

CMSZ_LZMA(0), 
CMSZ_BZIP_2(1),
CMSZ_DELTA(2),
CMSZ_COPY(3),
CMSZ_DEFLATE(4),
CMSZ_LZMA_2(5)

Default Value

0

Remarks

This is used to specify different compression methods. By default the class uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
cmszLzma (0 - default) LZMA
cmszBzip2 (1) BZip2
cmszDelta (2) Delta
cmszCopy (3) Copy (no compression)
cmszDeflate (4) Deflate
cmszLzma2 (5) LZMA2

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Qt Edition - Version 20.0 [Build 8300]