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는 추출 후 바이트 수입니다.