These modes are available in the following export formats: The report’s page headers, footers, and top and bottom margins appear on every page, exactly as they appear in the report’s Preview. Each file contains one page that corresponds to a report document page. The report is exported into multiple files. Each page corresponds to a report document page. The report is exported into one file that contains multiple pages. The report’s page headers, footers, top and bottom margins appear only once, at the beginning and end of the resulting page. The report is exported into one file that contains one page. Set the ExportOptions.ExportMode property to one of the values below to specify the report document’s export mode: You can use the CancellationToken parameter to cancel the report export. Asynchronous methods run in a separate thread and do not lock other tasks performed concurrently.Other tasks performed in the application are locked during that time. Synchronous export methods run until the export document is complete, and it cannot be interrupted or canceled.Report.ExportToPdf(Environment.GetFolderPath()
0 Comments
Leave a Reply. |