DrawJPG

Top  Previous  Next

function DrawJPG(x, y, w, h : Integer; 

   JPGImage : Pointer; 

   JPGImageSize : Integer; 

   OnCanvasMode : Boolean = false): Integer;

 

This method exports JPEG data. It requires the PDF Engine to be able to decode JPEG.

     

If OnCanvasMode=true the image will be exported in the current working state of the canvas. In that case the result value is 0, it is not possible to print duplicated images.