IShellImageData::SetEncoderParams method (shimgdata.h)

Sets encoder parameters.

Syntax

HRESULT SetEncoderParams(
  [in] IPropertyBag *pbagEnc
);

Parameters

[in] pbagEnc

Type: IPropertyBag*

A pointer to an IPropertyBag containing the encoder properties.

Return value

Type: HRESULT

Always returns S_OK.

Remarks

The IPropertyBag passed in pbagEnc is used during a save operation. The image and any edits made to it, such as Rotate or Scale, can be saved by calling QueryInterface for either IPersistFile or IPersistStream and calling their Save method.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shimgdata.h
DLL Shell32.dll