The EventsToTrigger property allows you to stop the Xceed Zip Compression Library from triggering some or all events.
Normally, this property is set to xevAll, which means that there are no restrictions on which events the library can trigger.
The values of this property can be combined (preferably with the bitwise-OR operator, but the + operator also works) in order to allow multiple values (events to trigger) to be specified.
For example, to allow only the FileStatus and GlobalStatus properties to be triggered when running the Zip method, and to disable all other properties, the code in VB would be:
XceedZip1.EventsToTrigger = xevFileStatus + xevGlobalStatus
Value | Meaning |
---|---|
xevNone | No events will be triggered by the library |
xevAll | All events can be triggered if applicable |
xevListingFile | The ListingFile event can be triggered if applicable |
xevPreviewingFile | The PreviewingFile event can be triggered if applicable |
xevInsertDisk | The InsertDisk event can be triggered if applicable |
xevZipPreprocessingFile | The ZipPreprocessingFile event can be triggered if applicable |
xevUnzipPreprocessingFile | The UnzipPreprocessingFile event can be triggered if applicable |
xevSkippingFile | The SkippingFile event can be triggered if applicable |
xevRemovingFile | The RemovingFile event can be triggered if applicable |
xevTestingFile | The TestingFile event can be triggered if applicable |
xevFileStatus | The FileStatus event can be triggered if applicable |
xevGlobalStatus | The GlobalStatus event can be triggered if applicable |
xevDiskNotEmpty | The DiskNotEmpty event can be triggered if applicable |
xevProcessCompleted | The ProcessCompleted event can be triggered if applicable |
xevZipComment | The ZipComment event can be triggered if applicable |
xevQueryMemoryFile | The QueryMemoryFile event can be triggered if applicable |
xevZippingMemoryFile | The ZippingMemoryFile event can be triggered if applicable |
xevUnzippingMemoryFile | The UnzippingMemoryFile event can be triggered if applicable |
xevWarning | The Warning event can be triggered if applicable |
xevInvalidPassword | The InvalidPassword event can be triggered if applicable |
xevReplacingFile | The ReplacingFile event can be triggered if applicable |
xevZipContentsStatus | The ZipContentsStatus event can be triggered if applicable |
xevDeletingFile | The DeletingFile event can be triggered if applicable |
xevConvertPreprocessingFile | The ConvertPreprocessingFile event can be triggered if applicable |
xevMovingTempFile | The MovingTempFile event can be triggered if applicable |
xevAll
Declaration (DLL API) | |
---|---|
|
All methods that can trigger an event.