This documentation is archived and is not being maintained.

CompressionOption Enumeration

Specifies the compression level for content that is stored in a PackagePart.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

Public Enumeration CompressionOption
Dim instance As CompressionOption
<object property="enumerationMemberName" .../>

Member nameDescription
NotCompressedCompression is turned off.
NormalCompression is optimized for a balance between size and performance.
MaximumCompression is optimized for size.
FastCompression is optimized for performance.
SuperFastCompression is optimized for high performance.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0