CompressionLevel Property
The compression level to use.
Syntax
ANSI (Cross Platform) int GetCompressionLevel();
int SetCompressionLevel(int iCompressionLevel); Unicode (Windows) INT GetCompressionLevel();
INT SetCompressionLevel(INT iCompressionLevel);
@property (nonatomic,readwrite,assign,getter=compressionLevel,setter=setCompressionLevel:) int compressionLevel; - (int)compressionLevel; - (void)setCompressionLevel:(int)newCompressionLevel;
#define PID_ZIPSFX_COMPRESSIONLEVEL 4 IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_ZipSFX_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_ZipSFX_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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.
Data Type
Integer