Contents - Index - Previous - Next
NoCompressList property
Applies to
TVCLZip component
Declaration
property NoCompressList: TStrings;
Description
Add filenames and/or wildcard specifications to this file list to specify files that you do not wish VCLZip to attempt to compress when zipping, regardless of what PackLevel is set to. The files that match the entries in this list will be added to the archive with a PackLevel = 0, which means that it will be STORED in the archive with no compression at all. This is useful when you wish to avoid having VCLZip try to compress files that won't compress much, if any, for instance zip archives that have already been compressed.
Wildcards may be used when adding to the NoCompressList.
Example:
To cause all zip and arj files to be STORED only in an archive when zipping, add the following prior to calling the Zip Method:
... VCLZip1.NoCompressFiles.Add('*.arj'); VCLZip1.NoCompressFiles.Add('*.zip'); ...