Hello
I am trying to export a PDF with an image (JPG / BMP) , but the image does not appear at all.
This image is saved in a BLOB field in my database and I use LOADFROMSTRING to load into WPRICHTEXT.
All content loads perfectly into WPRichText, but the image is not exported.
Below is the code I use for exporting:
WPPDFExport1: = TWPPDFExport.Create (Self);
WPPDFExport1.Source: = RestDWForm.WPRichText1;
WPPDFExport1.FileName: = Params.ItemsString ['File']. AsString;
WPPDFExport1.AutoLaunch: = False; WPPDFProperties1: = TWPPDFProperties.Create (Self);
WPPDFProperties1.PDFPrinter: = WPPDFExport1;
WPPDFExport1.Print;
I'm using WPTools 7 and WPDF 4.
Thank.