ExtractThumbnail

Applies to: SharePoint Foundation 2010

Extracts the thumbnail image of this document from the document.

HRESULT ExtractThumbnail(
   ILockBytes *pilb,
   IStream *pistmThumbnail
);

Parameters

pilb

[in] The document from which to extract the thumbnail.

pistmThumbnail

[in] The document thumbnail image.

Return Value

The parser methods return typical HRESULT values. In general, the parser should return a positive OK value when successful or a negative FAIL value when unsuccessful.

See Also

Concepts

Custom Document Parsers

Document Property Promotion and Demotion

Document Parser Interface Overview