OPC_COMPRESSION_OPTIONS enumeration (msopc.h)

Describes ways to compress part content.

Syntax

typedef enum __MIDL___MIDL_itf_msopc_0000_0002_0002 {
  OPC_COMPRESSION_NONE = -1,
  OPC_COMPRESSION_NORMAL = 0,
  OPC_COMPRESSION_MAXIMUM = 1,
  OPC_COMPRESSION_FAST = 2,
  OPC_COMPRESSION_SUPERFAST = 3
} OPC_COMPRESSION_OPTIONS;

Constants

 
OPC_COMPRESSION_NONE
Value: -1
Compression is turned off.
OPC_COMPRESSION_NORMAL
Value: 0
Compression is optimized for a balance between size and performance.
OPC_COMPRESSION_MAXIMUM
Value: 1
Compression is optimized for size.
OPC_COMPRESSION_FAST
Value: 2
Compression is optimized for performance.
OPC_COMPRESSION_SUPERFAST
Value: 3
Compression is optimized for high performance.

Requirements

Requirement Value
Header msopc.h

See also

Getting Started with the Packaging API

IOpcPart::GetCompressionOptions

IOpcPartSet::CreatePart

Overviews

Packaging API Programming Guide

Packaging API Samples

Packaging Enumerations

Packaging Interfaces

Reference