Bzip2LoadOptions.ExtractionProgressed
Bzip2LoadOptions.ExtractionProgressed event
Event raised invoked when some bytes have been extracted.
public event EventHandler<ProgressEventArgs> ExtractionProgressed;
Remarks
Event sender is the Bzip2Archive
instance which extraction is progressed. The ProceededBytes
is the number of bytes after extraction.
Examples
Bzip2LoadOptions loadOptions = new Bzip2LoadOptions();
loadOptions.ExtractionProgressed += (s, e) => { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };
See Also
- class ProgressEventArgs
- class Bzip2LoadOptions
- namespace Aspose.Zip.Bzip2
- assembly Aspose.Zip