Class Bzip2LoadOptions

Class Bzip2LoadOptions

Namn på plats: Aspose.Zip.Bzip2 Sammanfattning: Aspose.Zip.dll (25.5.0)

Alternativ för laddning Aspose.Zip.Bzip2.Bzip2Archive. Innehåller händelser som hölls på extraction.

public class Bzip2LoadOptions

Inheritance

object Bzip2LoadOptions

Arvsmedlemmar

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

Constructors

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

Evenemang uppkallades när vissa byter har tagits ut.

public event EventHandler<progresseventargs> ExtractionProgressed

Event typ

EventHandler ochlt; ProgressEventArgs >

Examples

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

Remarks

Event sender är Aspose.Zip.Bzip2.Bzip2Archiv instans som extraction är framåt. Aspose.Zip.ProgressEventArgs.ProceededBytes är antalet byter efter extraction.

 Svenska