Class Bzip2LoadOptions

Class Bzip2LoadOptions

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

Opsi untuk memuat Aspose.Zip.Bzip2.Bzip2Archive. Mengandung event yang dipicu saat ekstraksi.

public class Bzip2LoadOptions

Pewarisan

objectBzip2LoadOptions

Anggota yang Dwarisi

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

Konstruktor

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

Event yang dipicu saat beberapa byte telah diekstrak.

public event EventHandler<progresseventargs> ExtractionProgressed

Tipe Event

EventHandler<ProgressEventArgs&gt;

Contoh

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

Catatan

Pengirim event adalah instance Aspose.Zip.Bzip2.Bzip2Archive yang ekstraksinya sedang berlangsung. Aspose.Zip.ProgressEventArgs.ProceededBytes adalah jumlah byte setelah ekstraksi.

 Indonesia