FileCompressionLevel Property

The compression level to use for the file.

Object Oriented Interface

public function getFileCompressionLevel($fileindex);
public function setFileCompressionLevel($fileindex, $value);

Procedural Interface

ipworkszip_sevenzip_get($res, 11 , $fileindex);
ipworkszip_sevenzip_set($res, 11, $value , $fileindex);

Default Value

-1

Remarks

The compression level to use for the file. This property specifies the level of compression to be used, valid values are 1, 2, 3, 4 and 5. Higher values will cause the class to compress better; lower values will cause the class to compress faster.

The default value is -1, which means the value specified in the CompressionLevel property will be used.

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

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