FileCompressionMethod Property
This property specifies the compression method used for the individual file.
Syntax
int GetFileCompressionMethod(int iFileIndex);
int SetFileCompressionMethod(int iFileIndex, int iFileCompressionMethod);
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 property specifies the compression method used for the individual file. The compression method set here is applicable to this file only. Possible values are:
Value | Method |
cmszLzma (0 - default) | LZMA |
cmszBzip2 (1) | BZip2 |
cmszDelta (2) | Delta |
cmszCopy (3) | Copy (no compression) |
cmszDefalte (4) | Deflate |
cmszDefalte (5) | LZMA2 |
The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.
This property is not available at design time.
Data Type
Integer