IPWorks ZIP 2020 JavaScript Edition

Questions / Feedback?

CompressionMethod Property

The compression method to use.

Syntax


 getCompressionMethod(): ZipCompressionMethods;

 setCompressionMethod(compressionMethod: ZipCompressionMethods): void;

enum ZipCompressionMethods { cmDeflate, cmPPMd, cmBzip2 }

Default Value

0

Remarks

This property specifies the compression method to use. By default the class uses the Deflate compression method (a value of 0). Supported values are:

  • 0 (cmDeflate - default)
  • 1 (cmPPMd)
  • 2 (cmBzip2)

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