RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCompressionStream.Create Constructor

Creates and initializes an instance of a TCompressionStream object.

Pascal
constructor Create(CompressionLevel: TCompressionLevel; Dest: TStream);
C++
__fastcall TCompressionStream(TCompressionLevel CompressionLevel, TStream Dest);

Call Create to instantiate a TCompressionStream object.  

The CompressionLevel parameter determines the type of compression algorithm to be used, and must be one of the following: clNone, clFastest, clDefault, or clMax. 

The Dest parameter is a TStream object; compressed data will be written to this stream. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!