回复 1楼15828075167的帖子
1.你可以通过DocxExportProvider将C1Report导出到word文档。代码参考:
- DocxExportProvider dexpProvider = new DocxExportProvider();
- dexpProvider.CanExportRange(OutputRangeTypeEnum.All);
- OutputRange outputrange= new OutputRange(1, 2);
- c1Report1.C1Document.Export(Server.MapPath("File.docx"), dexpProvider, outputrange, true);
- //In case you want to export in RTF format you can simply render the report using RenderToFile() method as :
- //c1Report1.RenderToFile("RtfFile.rtf", FileFormatEnum.RTF);
复制代码
C1Report可以创建报表,C1PrintDocument可以打印文档。C1Report可以使用C1PrintDocument打印,但不仅限于。
有关产品描述:http://www.gcpowertools.com.cn/p ... reports_winform.htm
2.C1PrintDocument的export方法可以实现导出。
http://helpcentral.componentone. ... eport/webframe.html
3.命名空间:C1.C1Preview.C1PrintDocument
dll:C1.C1Report.4.dll |