WebReport 2015.3.7 and PDFExport
Hi,
Recently I downloaded a trial version of FastReport .Net. I am trying to export the web reports to PDF. I am using this code:
aOriginal.Prepare();
FastReport.Export.Pdf.PDFExport ExportPDF = new FastReport.Export.Pdf.PDFExport();
ExportPDF.Compressed = false;
ExportPDF.Background = false;
ExportPDF.PrintOptimized = false;
ExportPDF.OpenAfterExport = false;
string Filename = "d:\\Temp\\original.pdf";
aOriginal.Report.Export(ExportPDF, Filename);
Unfrtunately tne result is "Object reference not set to an instance of an object."
Where is my mistake? Thank you in advance.
Recently I downloaded a trial version of FastReport .Net. I am trying to export the web reports to PDF. I am using this code:
aOriginal.Prepare();
FastReport.Export.Pdf.PDFExport ExportPDF = new FastReport.Export.Pdf.PDFExport();
ExportPDF.Compressed = false;
ExportPDF.Background = false;
ExportPDF.PrintOptimized = false;
ExportPDF.OpenAfterExport = false;
string Filename = "d:\\Temp\\original.pdf";
aOriginal.Report.Export(ExportPDF, Filename);
Unfrtunately tne result is "Object reference not set to an instance of an object."
Where is my mistake? Thank you in advance.
Comments