Class ZArchiveLoadOptions
Class ZArchiveLoadOptions
Namespace: Aspose.Zip.Z
Assembly: Aspose.Zip.dll (25.5.0)
Options with which Aspose.Zip.Z.ZArchive is loaded from a compressed file. Contains event raised on extraction.
public class ZArchiveLoadOptions
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ZArchiveLoadOptions()
public ZArchiveLoadOptions()
ExtractionProgressed
Gets or sets the delegate invoked when some bytes have been extracted.
public event EventHandler<progresseventargs> ExtractionProgressed
Event Type
EventHandler < ProgressEventArgs >
Examples
ZArchive archive = new ZArchive("archive.z",
new ZArchiveLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / length); } })
Remarks
Event sender is the Aspose.Zip.Z.ZArchive instance which extraction is progressed.