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.

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.