|
FileCompressorCompress(String, String, CompressionStrength, ActionProcessProgressInt64) Method
|
Compress a file using specified compression strength (not PKZip compatible...)
Namespace: GSF.IO.CompressionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
SyntaxPublic Shared Sub Compress (
sourceFileName As String,
destinationFileName As String,
strength As CompressionStrength,
progressHandler As Action(Of ProcessProgress(Of Long))
)
static member Compress :
sourceFileName : string *
destinationFileName : string *
strength : CompressionStrength *
progressHandler : Action<ProcessProgress<int64>> -> unit
GSF.IO.Compression.FileCompressor.Compress = function(sourceFileName, destinationFileName, strength, progressHandler);
View SourceParameters
- sourceFileName String
- Source file name.
- destinationFileName String
- Destination file name.
- strength CompressionStrength
- Stength of compression to apply.
- progressHandler ActionProcessProgressInt64
- User function to call with compression progress updates.
See Also