Delegate SetCompressionCallback
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
Namespace: OfficeOpenXml.Packaging.Ionic.Zip
Assembly: EPPlus.dll
Syntax
public delegate CompressionLevel SetCompressionCallback(string localFileName, string fileNameInArchive);
Parameters
Type | Name | Description |
---|---|---|
System.String | localFileName | |
System.String | fileNameInArchive |
Returns
Type | Description |
---|---|
CompressionLevel |
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.
See Also
OfficeOpenXml.Packaging.Ionic.Zip.ZipFile.SetCompression