Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWICBitmapEncoder::SetThumbnail method

Sets the global thumbnail for the image.

Syntax


HRESULT SetThumbnail(
  [in] IWICBitmapSource *pIThumbnail
);

Parameters

pIThumbnail [in]

Type: IWICBitmapSource*

The IWICBitmapSource to set as the global thumbnail.

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

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show:
© 2016 Microsoft