LONG AddImageFromBLOB ( VARIANT* image ) |
{ PDF object is supposed to be created } { VARIANT imgData is containing an image data } { from Database or else... } ind := PDF.AddImageFromBLOB(imgData); PDF.ShowImage(ind, 0, 0); PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created // VARIANT imgData is containing an image data // from Database or else... long ind = PDF->AddImageFromBLOB(imgData); PDF->ShowImage(ind, 0, 0); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created // object imgData is containing an image data // from Database or else... long ind = PDF.AddImageFromBLOB(imgData); PDF.ShowImage(ind, 0, 0); PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created ' VARIANT imgData is containing an image data ' from Database or else... ind = PDF.AddImageFromBLOB(imgData) PDF.ShowImage ind, 0, 0 PDF.SaveToFile "test.pdf", true