e-CryptIt Engine - Compression Xojo Plugin

ZipArchiveWriter.AddFile Method

Adds a file to the zip archive. This variation of the AddFile will add the file at the root in the Zip archive.

AddFile(
   sourceFile as FolderItem,
   comment as String,
   compressionMethod as CompressionMethodEnum,
   progress as ZipArchive.ProgressDelegate)

Parameters

sourceFile
The file to be added.
comment
Comment for the entry.
compressionMethod
Compression method. This can be any one of the constant from the CompressionMethodEnum on this class.
progress
Optional parameter that takes progress delegate. Default value is nil.

Remarks

See Also

ZipArchiveWriter Class