IXpsDocument::SetThumbnail method

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

Syntax

HRESULT SetThumbnail(
  IPartThumbnail *pThumbnail
);

Parameters

pThumbnail

A pointer to a new thumbnail.

Return Value

SetThumbnail returns an HRESULT value.

Requirements

   
Target Platform Desktop
Header filterpipeline.h