Class Bzip2LoadOptions
Class Bzip2LoadOptions
Namespace: Aspose.Zip.Bzip2
Assembly: Aspose.Zip.dll (25.1.0)
Alternativ för att ladda Aspose.Zip.Bzip2.Bzip2Archive. Innehåller händelse som utlöses vid extraktion.
public class Bzip2LoadOptions
Arv
Ärvda Medlemmar
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktörer
Bzip2LoadOptions()
public Bzip2LoadOptions()
ExtractionProgressed
Händelse som utlöses när några byte har extraherats.
public event EventHandler<progresseventargs> ExtractionProgressed
Händelsetyp
EventHandler<ProgressEventArgs>
Exempel
Bzip2LoadOptions loadOptions = new Bzip2LoadOptions();
loadOptions.ExtractionProgressed += (s, e) => { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };
Kommentarer
Händelseavsändaren är instansen av Aspose.Zip.Bzip2.Bzip2Archive vars extraktion pågår. Aspose.Zip.ProgressEventArgs.ProceededBytes är antalet byte efter extraktionen.