RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ZLib.TCompressionLevel Enumeration

TCompressionLevel indicates the type of compression algorithm to be used when creating a compressed data stream.

Pascal
TCompressionLevel = (
  clNone = Integer(zcNone
);
C++
enum TCompressionLevel {
  clNone = Integer(zcNone
};

The following table lists the possible values:

Value 
Meaning 
clNone  
Specifies no compression; data is merely copied to the output stream.  
clFastest  
Specifies fastest compression, resulting in a larger archive.  
clDefault  
Compromise between speed and amount of compression.  
clMax  
Specifies maximum compression, resulting in a longer time to perform the operation.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!