Class XarLoadOptions
Class XarLoadOptions
Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)
Opzioni con cui l’archivio viene caricato dal file compresso.
public class XarLoadOptions
Ereditarietà
Membri Ereditati
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Costruttori
XarLoadOptions()
public XarLoadOptions()
Proprietà
EntryExtractionProgressed
Ottiene o imposta il delegato invocato quando alcuni byte sono stati estratti.
public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }
Valore della Proprietà
EventHandler<ProgressEventArgs>
Esempi
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
Osservazioni
Il mittente dell’evento è l’istanza Aspose.Zip.Xar.XarFileEntry di cui è progredita l’estrazione.