CompressionOption Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public enum CompressionOption

Member nameDescription
Fast

Compression is optimized for performance.

Maximum

Compression is optimized for size.

Normal

Compression is optimized for a balance between size and performance.

NotCompressed

Compression is turned off.

SuperFast

Compression is optimized for high performance.

.NET Framework
Available since 3.0
Return to top
Show: