Class Bzip2LoadOptions

Class Bzip2LoadOptions

Le nom : Aspose.Zip.Bzip2 Assemblée: Aspose.Zip.dll (25.5.0)

Opzioni per il caricamento Aspose.Zip.Bzip2.Bzip2Archivio. contiene eventi su estrazione.

public class Bzip2LoadOptions

Inheritance

object Bzip2LoadOptions

I membri ereditari

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

Constructors

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

L’evento è stato invocato quando alcuni byte sono stati estratti.

public event EventHandler<progresseventargs> ExtractionProgressed

Tipo di evento

EventHandler di < ProgressEventArgs >

Examples

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

Remarks

Il messaggero di eventi è l’esempio Aspose.Zip.Bzip2.Bzip2Archivato in cui l’estrazione è avanzata.L’ Aspose.Zip.ProgressEventArgs.ProceededBytes è il numero di byte dopo l’estrazione.

 Français