FileCompressionMethod Property
This property specifies the compression method used for the individual file.
Object Oriented Interface
public function getFileCompressionMethod($fileindex); public function setFileCompressionMethod($fileindex, $value);
Procedural Interface
ipworkszip_sevenzip_get($res, 12 , $fileindex); ipworkszip_sevenzip_set($res, 12, $value , $fileindex);
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 |
If this property is not set, the method specified by the CompressionMethod property will be used. Note that different files in the archive may use different compression methods.
The size of the array is controlled by the FileCount property.
This property is not available at design time.
Data Type
Integer