IWICBitmapEncoder::SetPreview method
Sets the global preview for the image.
Syntax
HRESULT SetPreview(
[in] IWICBitmapSource *pIPreview
);
Parameters
- pIPreview [in]
-
Type: IWICBitmapSource*
The IWICBitmapSource to use as the global preview.
Return value
Type: HRESULT
Returns S_OK if successful, or an error value otherwise.
Returns WINCODEC_ERR_UNSUPPORTEDOPERATION if the feature is not supported by the encoder.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|