Discuss this help topic in SecureBlackbox Forum


TElZipReader     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

This event reports extraction progress.


    event TSBZipProgressEvent OnProgress;
    delegate void TSBZipProgressEvent(Object Sender, ulong Processed, ulong Total, ulong OverallProcessed, ulong OverallTotal, ref bool Cancel);

    Event OnProgress As TSBZipProgressEvent
    Delegate Sub TSBZipProgressEvent(ByVal Sender As Object, ByVal Processed As Long, ByVal Total As Long, ByVal OverallProcessed As Long, ByVal OverallTotal As Long, ByRef Cancel As Boolean)

    property OnProgress : TSBZipProgressEvent;
    TSBZipProgressEvent = procedure(Sender: TObject; Processed, Total, OverallProcessed, OverallTotal : UInt64, var Cancel : boolean) of object;

    void get_OnProgress(TSBZipProgressEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnProgress(TSBZipProgressEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBZipProgressEvent)(void * _ObjectData, TObjectHandle Sender, uint64_t Processed, uint64_t Total, uint64_t OverallProcessed, uint64_t OverallTotal, int8_t &Cancel);

    TSBZipProgressEvent|callable|NULL get_OnProgress()
    void set_OnProgress(TSBZipProgressEvent|callable|NULL $Value)
    callable TSBZipProgressEvent(TObject $Sender, integer $Processed, integer $Total, integer $OverallProcessed, integer $OverallTotal, bool &$Cancel)

    TSBZipProgressEvent getOnProgress();
    void setOnProgress(TSBZipProgressEvent arg0);
    TSBZipProgressEvent.Callback OnProgress = new TSBZipProgressEvent.Callback() {
        public void TSBZipProgressEventCallback(TObject Sender, long Processed, long Total, long OverallProcessed, long OverallTotal, TSBBoolean Cancel) {


  • Processed - number of processed bytes of the current entry
  • Total - total size of the current archive entry.
  • OverallProcessed - number of bytes processed of the whole archive.
  • OverallTotal - total size of the archive in bytes.
  • Cancel - this parameter allows to cancel data extraction.


    This event is fired by TElZipReader continuously to show extraction progress. Parameter Cancel could be set to True in order to stop operation.

See also:     OnExtractionFinished     OnExtractionStart    

Discuss this help topic in SecureBlackbox Forum