Page 1 of 1

Export to RTF without export dialog

Posted: Fri Jan 05, 2007 12:43 am
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

Export to RTF without export dialog

Posted: Fri Jan 05, 2007 2:26 am
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.