Debenu Quick PDF logo


Version history

This function is not available from Quick PDF Library version 7.11 and was deprecated in earlier versions.

The AddImageFromString, AddImageFromStream or AddImageFromVariant functions should be used instead.


Adds a BMP image from a file to the selected document.


function AddBMPImageFromString(Source As String, Length As Long) As Long


Source The BMP data to add to the document.
Length The length of the source data. This is only used with the DLL version of the library. This value is ignored in the Delphi and ActiveX versions of the library.


0 The specified image could not be added.
Non-zero The ID of the added image is returned. This ID can be used later with the SelectImage, DrawImage or DrawScaledImage functions.