IPWorks ZIP 2020 JavaScript Edition

Questions / Feedback?

CompressionLevel Property

The compression level to use.

Syntax


 getCompressionLevel(): number;

 setCompressionLevel(compressionLevel: number): void;

Default Value

4

Remarks

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.

Set the level of CompressionLevel in the BeginFile event to apply different levels of compression to different files.

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