Share via


OpenXmlPackage.CompressionOption Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets / Sets the compression level for content of new part.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Property CompressionOption As CompressionOption
    Get
    Set
'Usage
Dim instance As OpenXmlPackage
Dim value As CompressionOption

value = instance.CompressionOption

instance.CompressionOption = value
public CompressionOption CompressionOption { get; set; }

Property Value

Type: System.IO.Packaging.CompressionOption

See Also

Reference

OpenXmlPackage Class

OpenXmlPackage Members

DocumentFormat.OpenXml.Packaging Namespace