IXpsDocument::GetThumbnail method

The GetThumbnail method gets the document thumbnail object.

Syntax

HRESULT GetThumbnail(
  IPartThumbnail **ppThumbnail
);

Parameters

ppThumbnail

The thumbnail object in the document.

Return Value

GetThumbnail returns an HRESULT value. This method might return E_ELEMENT_NOT_FOUND if a thumbnail cannot be found.

Requirements

   
Target Platform Desktop
Header filterpipeline.h