pdf export

dannidanni Denmark
edited 11:26PM in FastReport .NET
Hi is it possible to export a report to pdf without previewing the report?

Thanks

Comments

  • edited 11:26PM
    Hello,

    From the programmer's manual:
    wrote:
    To do this:

    ?· prepare a report using the Prepare method;
    ?· create an instance of export filter and set up its properties;
    ?· call the Export method of the Report object.

    The following example exports a prepared report in the HTML format:

    FastReport.Export.Html.HTMLExport export = new FastReport.Export.Html.HTMLExport();
    if (export.ShowDialog())
    report1.Export(export, "result.html");

    In this example, export settings are made using the dialog window.

Leave a Comment