Class Bzip2LoadOptions

Class Bzip2LoadOptions

Numele spaţiului: Aspose.Zip.Bzip2 Asamblare: Aspose.Zip.dll (25.5.0)

Opțiuni de încărcare Aspose.Zip.Bzip2.Bzip2Archive. conține eveniment ridicat pe extracție.

public class Bzip2LoadOptions

Inheritance

object Bzip2LoadOptions

Membrii moștenitori

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

Constructors

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

Evenimentul a fost invocat atunci când unele byte au fost extrase.

public event EventHandler<progresseventargs> ExtractionProgressed

Tipul evenimentului

EventHandler < ProgressEventArgs >

Examples

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

Remarks

Mesagerul evenimentului este Aspose.Zip.Bzip2.Bzip2Instanța de arhivă a cărei extracție este avansată. Aspose.Zip.ProgressEventArgs.ProceededBytes este numărul de byte după extracție.

 Română