IXpsDocument::GetThumbnail method (filterpipeline.h)

The GetThumbnail method gets the document thumbnail object.

Syntax

HRESULT GetThumbnail(
  [out] IPartThumbnail **ppThumbnail
);

Parameters

[out] 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

Requirement Value
Target Platform Desktop
Header filterpipeline.h