FileCompressedSize Property
The size of the compressed data, as compressed within the archive.
Syntax
ANSI (Cross Platform) int64 GetFileCompressedSize(int iFileIndex); Unicode (Windows) LONG64 GetFileCompressedSize(INT iFileIndex);
- (long long)fileCompressedSize:(int)fileIndex;
#define PID_ZIP_FILECOMPRESSEDSIZE 12 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_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
-1
Remarks
The size of the compressed data, as compressed within the archive. Headers, footers, etc., are not included in the size.
Reading the value of this property will return a meaningful value only after the archive has been compressed, scanned, or decompressed, and only if the values of ArchiveFile, or Files have not been changed since. If a meaningful value is not available this property will return a value of -1.
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 read-only and not available at design time.
Data Type
Long64