Ionic Zip Library v1.9.1.6
SetCompressionCallback Delegate
Delegate for the callback by which the application tells the
library the CompressionLevel to use for a file.

C# | Visual Basic | Visual C++ |
public delegate CompressionLevel SetCompressionCallback( string localFileName, string fileNameInArchive )
Public Delegate Function SetCompressionCallback ( _ localFileName As String, _ fileNameInArchive As String _ ) As CompressionLevel
public delegate CompressionLevel SetCompressionCallback( String^ localFileName, String^ fileNameInArchive )

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.
