Forum > LazReport

save PDF

(1/1)

Santia70:
I have opened an old project to see some things and I realized that now I cannot save the reports made in Lazreport with the option to save with PDF format, with frp and txt format if it works well.
With PDF I get an error window (Accsess violation)

Any ideas what to see

madref:
you could try the following:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses lr_e_pdf;  // this has to be a form      frReport_Evaluatie: TfrReport;  // in the code:frReport_Evaluatie.ExportTo(TFrTNPDFExportFilter, YourFileName + '.pdf') 

Santia70:
Thanks, I already solved it, at that time I used another package that gave me an error now, after changing to the one you told me about, everything is fine

Navigation

[0] Message Index

Go to full version