DotNetCompression Class Reference for Windows Phone
ZlibOutputStream Constructor(String,Int32)






The path to the file to which compressed data will be written.
Specifies the compression level to be used when compressing. It may be set to an integer from 0 to 9. Generally, lower compression levels result in faster performance while higher compression levels result in better compression. Compression level 0 provides no compression at all.
Initializes a new instance of the ZlibOutputStream class.
Syntax
'Declaration
 
Public Function New( _
   ByVal fileName As System.String, _
   ByVal compressionLevel As System.Integer _
)
'Usage
 
Dim fileName As System.String
Dim compressionLevel As System.Integer
 
Dim instance As New ZlibOutputStream(fileName, compressionLevel)
public ZlibOutputStream( 
   System.string fileName,
   System.int compressionLevel
)
public ZlibOutputStream( 
    fileName: System.String;
    compressionLevel: System.Integer
); 
public function ZlibOutputStream( 
   fileName : System.String,
   compressionLevel : System.int
);
public: ZlibOutputStream( 
   System.string* fileName,
   System.int compressionLevel
)
public:
ZlibOutputStream( 
   System.String^ fileName,
   System.int compressionLevel
)

Parameters

fileName
The path to the file to which compressed data will be written.
compressionLevel
Specifies the compression level to be used when compressing. It may be set to an integer from 0 to 9. Generally, lower compression levels result in faster performance while higher compression levels result in better compression. Compression level 0 provides no compression at all.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZlibOutputStream Class
ZlibOutputStream Members
Overload List

Send Feedback