Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip Namespace / ZipArchive Class / DefaultCompressionLevel Property


In This Topic
    DefaultCompressionLevel Property
    In This Topic
    Gets or sets the default Xceed.Compression.CompressionLevel that will be applied to the file(s) that are added to the zip file.
    Syntax
    'Declaration
     
    Public Overridable Property DefaultCompressionLevel As CompressionLevel
    'Usage
     
    Dim instance As ZipArchive
    Dim value As CompressionLevel
     
    instance.DefaultCompressionLevel = value
     
    value = instance.DefaultCompressionLevel
    public virtual CompressionLevel DefaultCompressionLevel {get; set;}

    Property Value

    The default Xceed.Compression.CompressionLevel that will be applied to the file(s) that are added to the zip file.
    Remarks

    The compression level only applies to the Deflated and Deflated64 compression methods.  It does not apply to the BZip2, BWT, or PPMd compression methods.

    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