FileCompressionLevel Property

The compression level to use for the file.

Syntax

int GetFileCompressionLevel(int iFileIndex);
int SetFileCompressionLevel(int iFileIndex, int iFileCompressionLevel);

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 Qt Edition - Version 20.0 [Build 8300]