fileCompressionLevel (property)

The compression level to use for the file.

Syntax

- (int)fileCompressionLevel:(int)fileIndex;
- (void)setFileCompressionLevel:(int)fileIndex:(int)newFileCompressionLevel;
public func fileCompressionLevel(fileIndex: Int32) throws -> Int32
public func setFileCompressionLevel(fileIndex: Int32, newFileCompressionLevel: Int32) throws -> Void

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.

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