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

The compression level to use, from 1 to 6. Higher values will cause the component to compress better; lower values will cause the component to compress faster.

When GetCompressionStream is invoked the stream will be created with the specified compression level. After a stream has been created it is independent of the control, and changing CompressionLevel will have no effect on existing streams.

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