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_zip_get($res, 13 , $fileindex);
ipworkszip_zip_set($res, 13, $value , $fileindex);

Default Value

4

Remarks

The compression level to use for the file. This property specifies the level of compression to be used, between 0 and 6. Higher values will cause the class to compress better; lower values will cause the class to compress faster. A value of 0 will store the file without compression.

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]