Delegate SetCompressionCallback
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
public delegate CompressionLevel SetCompressionCallback(string localFileName, string fileNameInArchive)
Parameters
localFileNamestring- Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
fileNameInArchivestring- Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
Returns
- CompressionLevel
- Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
- Extension Methods
Remarks
Using this callback, the application can, for example, specify that
previously-compressed files (.mp3, .png, .docx, etc) should use a
CompressionLevel of None, or can set the compression level based
on any other factor.