Xceed Zip Compression Library Documentation
MinSizeToProcess property
Xceed Zip control reference > Xceed Zip control properties > MinSizeToProcess property

Description

The MinSizeToProcess property is a filtering property that lets you limit the processing of files to only those files that are larger than or equal to a specified file size. This property affects the list of files specified in the FilesToProcess property.

Files that have a smaller file size (in bytes) than the amount specified MinSizeToProcess property will be tagged as "excluded" when the ZipPreprocessingFile or UnzipPreprocessingFile event occurs, and will not be processed unless you change the value of the excluded parameter to False.

This property can be used in conjunction with other filtering properties. In particular, it can be used in conjunction with the MaxSizeToProcess property in order to provide a range of file sizes that should be processed.

Data type

Long Integer

Possible values

0 to 4294967295 (or 0 to 2147483647 for languages with signed long integers such as VB)

Default value

0 (No lower file size limit, all files qualify for processing)

Declaration (DLL API)  

DWORD XzGetMinSizeToProcess( HXCEEDZIP hZip )

void XzSetMinSizeToProcess( HXCEEDZIP hZip, DWORD dwValue )

Applicable methods

Zip, Unzip, ListZipContents, PreviewFiles, RemoveFiles

Related topics

None