pdf export

dannidanni Denmark
edited 8:10AM in FastReport .NET
Hi is it possible to export a report to pdf without previewing the report?

Thanks

Comments

  • edited 8:10AM
    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

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.