|
AddThumbnailByStream Method |
Top Previous Next |
|
The AddThumbnailByStream method inserts thumbnail (from memory) to the PDF document. The thumbnail inserted can either be a Bitmap, JPEG, Icon or a Metafile.
Syntax
Parameters
Page [in] Page number to which thumbnail needs to be inserted. Specify the Page Number and not the Page Range.
Stream [in] Address of the memory buffer where the image needs to be inserted is read into.
StreamSize Size of the memory buffer of the image that needs to be inserted.
ImageType The type of the image that the stream corresponds to, such as itBMP, itMetafile, itIcon, itJPEG. For Bitmap pass itBMP, for Metafile pass itMetafile, for Icon pass itIcon, and for JPEG pass itJPEG.
|