Export to RTF without export dialog

Stimulsoft Reports.NET discussion
Post Reply
dkfoto
Posts: 3
Joined: Wed Oct 11, 2006 8:25 am

Export to RTF without export dialog

Post by dkfoto »

Hi

I have some reports where I want to export them to rtf automatic. How can I do this without showing the exoprt dialog and still use my settings for the export.

Thanks
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Export to RTF without export dialog

Post by Edward »

dkfoto wrote:Hi

I have some reports where I want to export them to rtf automatic. How can I do this without showing the exoprt dialog and still use my settings for the export.

Thanks
Please use the following code:

Code: Select all

StiRtfExportService service = new StiRtfExportService();
service.ExportRtf(report, stream, StiRtfExportMode.Table, StiPagesRange.All, true);
Thank you.
Post Reply