Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Sets the compression level.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Method | The compression method to use. Can be 0 for no compression and 1 for deflate compression. | 1 |
Level | The compression level from 0 (fastest) to 9 (maximum). | 9 |
Returns OK or error message.
Set default settings:
MBS( "ZipFile.SetCompressionLevel"; 1; 9 )
Created 18th August 2014, last changed 17th January 2018
ZipFile.Open - ZipFile.UsePassword
Feedback: Report problem or ask question.