TiffExport控件可以直接在code中使用,无需添加到From中:
- // 假设TestReport 是你DLL工程中的报表
- TestReport rpt = new TestReport();
- rpt.Run();
- DataDynamics.ActiveReports.Export.Tiff.TiffExport tiffExport = new DataDynamics.ActiveReports.Export.Tiff.TiffExport();
- tiffExport.Export(rpt.Document, "test.tiff");
复制代码 |