Class Bzip2LoadOptions
Class Bzip2LoadOptions
Namespace: Aspose.Zip.Bzip2
Assembly: Aspose.Zip.dll (25.1.0)
Optionen zum Laden von Aspose.Zip.Bzip2.Bzip2Archive. Enthält Ereignis, das beim Extrahieren ausgelöst wird.
public class Bzip2LoadOptions
Vererbung
Vererbte Mitglieder
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktoren
Bzip2LoadOptions()
public Bzip2LoadOptions()
ExtractionProgressed
Ereignis, das ausgelöst wird, wenn einige Bytes extrahiert wurden.
public event EventHandler<progresseventargs> ExtractionProgressed
Ereignistyp
EventHandler<ProgressEventArgs>
Beispiele
Bzip2LoadOptions loadOptions = new Bzip2LoadOptions();
loadOptions.ExtractionProgressed += (s, e) => { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };
Bemerkungen
Der Ereignissender ist die Instanz von Aspose.Zip.Bzip2.Bzip2Archive, deren Extraktion fortschreitet. Die Aspose.Zip.ProgressEventArgs.ProceededBytes ist die Anzahl der Bytes nach der Extraktion.