System.Zip.TZipFile.ZipDirectoryContents
Delphi
class procedure ZipDirectoryContents(const ZipFileName: string; const Path: string; Compression: TZipCompression = zcDeflate; ZipProgress: TZipProgressEvent = nil); static;
C++
static void __fastcall ZipDirectoryContents(const System::UnicodeString ZipFileName, const System::UnicodeString Path, TZipCompression Compression = (TZipCompression)(0x8), TZipProgressEvent ZipProgress = 0x0);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Zip.pas System.Zip.hpp |
System.Zip | TZipFile |
Description
Compresses the contents of a directory.
ZipDirectoryContents compresses the contents of the directory located at Path
into a file specified by ZipFileName
.
Compression
specifies the compression mode.
ZipProgress
is an optional callback method that tracks the progress of the operation.