Class Bzip2LoadOptions
Class Bzip2LoadOptions
Namespace: Aspose.Zip.Bzip2
Assembly: Aspose.Zip.dll (25.1.0)
خيارات تحميل Aspose.Zip.Bzip2.Bzip2Archive. يحتوي على حدث يتم رفعه عند الاستخراج.
public class Bzip2LoadOptions
الوراثة
الأعضاء الموروثة
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
المنشئات
Bzip2LoadOptions()
public Bzip2LoadOptions()
ExtractionProgressed
حدث يتم رفعه عند استخراج بعض البايتات.
public event EventHandler<progresseventargs> ExtractionProgressed
نوع الحدث
EventHandler<ProgressEventArgs>
أمثلة
Bzip2LoadOptions loadOptions = new Bzip2LoadOptions();
loadOptions.ExtractionProgressed += (s, e) => { percent = (int) ((double)(100 * e.ProceededBytes) / originalFileLength); };
ملاحظات
مرسل الحدث هو مثيل Aspose.Zip.Bzip2.Bzip2Archive الذي تم تقدم الاستخراج فيه. Aspose.Zip.ProgressEventArgs.ProceededBytes هو عدد البايتات بعد الاستخراج.