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は、抽出後のバイト数です。