ExtractThumbnailEx
Applies to: SharePoint Foundation 2010
Extracts the thumbnail image of the document and specifies the width and height of the thumbnail.
HRESULT ExtractThumbnailEx(
ILockBytes *pilb,
IStream *pistmThumbnail,
int nWidth,
int nHeight
);
Parameters
pilb
[in] The document from which to extract the thumbnail.
pistmThumbnail
[in] The document thumbnail image.
nWidth
[in] The width in pixels of the image.
nHeight
[in] The height in pixels of the 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.