Class XarLoadOptions

Class XarLoadOptions

Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)

Možnosti, se kterými je archiv načten z komprimovaného souboru.

public class XarLoadOptions

Dědičnost

objectXarLoadOptions

Děděné členy

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

Konstruktor

XarLoadOptions()

public XarLoadOptions()

Vlastnosti

EntryExtractionProgressed

Získá nebo nastaví delegáta, který je vyvolán, když byly extrahovány některé bajty.

public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }

Hodnota vlastnosti

EventHandler<ProgressEventArgs&gt;

Příklady

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })

Poznámky

Odesílatelem události je instance Aspose.Zip.Xar.XarFileEntry, jejíž extrakce probíhá.

 Čeština