FileCompressionLevel Property

The compression level to use for the file.

Syntax

ANSI (Cross Platform)
int GetFileCompressionLevel(int iFileIndex);
int SetFileCompressionLevel(int iFileIndex, int iFileCompressionLevel); Unicode (Windows) INT GetFileCompressionLevel(INT iFileIndex);
INT SetFileCompressionLevel(INT iFileIndex, INT iFileCompressionLevel);
- (int)fileCompressionLevel:(int)fileIndex;
- (void)setFileCompressionLevel:(int)fileIndex:(int)newFileCompressionLevel;
#define PID_ZIP_FILECOMPRESSIONLEVEL 13

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Zip_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Zip_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Zip_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

4

Remarks

The compression level to use for the file. 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.

The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.

This property is not available at design time.

Data Type

Integer

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