Partager via


OpenXmlPackage.CompressionOption Property

Get / Set 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