compressionLevel (property)
The compression level to use.
Syntax
@property (nonatomic,readwrite,assign,getter=compressionLevel,setter=setCompressionLevel:) int compressionLevel; - (int)compressionLevel; - (void)setCompressionLevel:(int)newCompressionLevel;
public var compressionLevel: Int32 { get {...}
set {...} }
Default Value
4
Remarks
The compression level to use, from 1 to 6. Higher values will cause the component to compress better; lower values will cause the component to compress faster.
When GetCompressionStream is invoked the stream will be created with the specified compression level. After a stream has been created it is independent of the control, and changing CompressionLevel will have no effect on existing streams.