Class Bzip2LoadOptions

Class Bzip2LoadOptions

名称: Aspose.Zip.Bzip2 收藏: Aspose.Zip.dll (25.5.0)

可下载的选项 Aspose.Zip.Bzip2.Bzip2Archive. 包含在提取上提起的事件。

public class Bzip2LoadOptions

Inheritance

object Bzip2LoadOptions

继承人

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

Constructors

Bzip2LoadOptions()

public Bzip2LoadOptions()

ExtractionProgressed

事件被提起,当一些比特被提取时。

public event EventHandler<progresseventargs> ExtractionProgressed

事件类型

EventHandler < ProgressEventArgs >

Examples

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

Remarks

事件发送器是 Aspose.Zip.Bzip2.Bzip2Archive 例子,其中提取进展. The Aspose.Zip.ProgressEventArgs.ProceededBytes 是提取后比特的数量。

 中文