Class Bzip2LoadOptions

Class Bzip2LoadOptions

Namespace: Aspose.Zip.Bzip2
Assembly: Aspose.Zip.dll (25.2.0)

Options for loading Aspose.Zip.Bzip2.Bzip2Archive. Contains event raised on extraction.

public class Bzip2LoadOptions

Inheritance

objectBzip2LoadOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

Event raised invoked when some bytes have been extracted.

public event EventHandler<progresseventargs> ExtractionProgressed

Event Type

EventHandler<ProgressEventArgs&gt;

Examples

Bzip2LoadOptions loadOptions = new Bzip2LoadOptions(); 
loadOptions.ExtractionProgressed += (s, e) =&gt; { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };

Remarks

Event sender is the Aspose.Zip.Bzip2.Bzip2Archive instance which extraction is progressed. The Aspose.Zip.ProgressEventArgs.ProceededBytes is the number of bytes after extraction.

 English