AddJPEGImageFromFile
Version history
This function is not available from Quick PDF Library version 7.11 and was deprecated in earlier versions.
The AddImageFromFile function should be used instead.
Description
Adds a JPEG image from a file to the selected document.
Definition
function AddJPEGImageFromFile(FileName As String) As Long
Parameters
FileName | The file name of the JPEG image to add to the PDF file. |
Returns
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. |