method DrawBitmap

Top  Previous  Next

This function exports a bitmap to the PDF file. You can specify the desired size of the bitmap (measured in PDF resolution, see StartPage). Please provide a valid HBITMAP handle to this function, for example TBitmap.Handle.

 

The function returns the id of the bitmap in the PDF file. If you want to export this bitmap again you can use the function DrawBitmapCloneI to do so. Important: Please note that the bitmap has to be in either in RGB (24 bit) or in monochrome format!