IXpsDocument::SetThumbnail method (filterpipeline.h)

The SetThumbnail method removes the current thumbnail object from the document and inserts a new one.

Syntax

HRESULT SetThumbnail(
  [in] IPartThumbnail *pThumbnail
);

Parameters

[in] pThumbnail

A pointer to a new thumbnail.

Return value

SetThumbnail returns an HRESULT value.

Requirements

Requirement Value
Target Platform Desktop
Header filterpipeline.h