Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Gets a value that describes the way part content is compressed.
HRESULT GetCompressionOptions(
[out, retval] OPC_COMPRESSION_OPTIONS *compressionOptions
);
[out, retval] compressionOptions
A value that describes the way part content is compressed.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The compressionOptions parameter is NULL. |
For more information about parts, see the Open Packaging Conventions Fundamentals and the ECMA-376 OpenXML, 1st Edition, Part 2: Open Packaging Conventions (OPC).
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | msopc.h |
External Resources
Getting Started with the Packaging API
Open Packaging Conventions Fundamentals
Overviews
Reference
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today