显示PDF和Crystal Reports中的Excel导出选项? [英] Display PDF and Excel export options in Crystal Reports?

查看:914
本文介绍了显示PDF和Crystal Reports中的Excel导出选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要删除在Crystal报表导出选项的话,RPT和RTF选项。可能吗?
我只需要两个选项,PDF和Excel。如果可能的话请咨询。

I need to Remove the Word, Rpt and rtf option in Crystal report Export option. Is it possible? I need only two option pdf and Excel. If possible please advice.

推荐答案

使用CRVS2010,你可以删除不需要的导出选项。

Using CRVS2010 , you can remove unwanted export Option.

CRVS2010的一个新特点是从观众导出按钮修改可用的导出格式的能力。下面的C#示例code演示了如何设置的CrystalReportViewer仅导出为PDF和Excel文件格式:

A new feature of CRVS2010 is the ability to modify the available export formats from the viewer export button. The following C# sample code demonstrates how to set the CrystalReportViewer to export only to PDF and Excel file formats:

int exportFormatFlags = (int)(CrystalDecisions.Shared.ViewerExportFormats.PdfFormat | CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat);
CrystalReportViewer1.AllowedExportFormats = exportFormatFlags;

有关更多详细信息,请参考以下链接。

For More Details Please refer below link..

<一个href=\"http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/01/26/export-file-formats-for-sap-crystal-reports-for-vs-2010\" rel=\"nofollow\">http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2011/01/26/export-file-formats-for-sap-crystal-reports-for-vs-2010

这篇关于显示PDF和Crystal Reports中的Excel导出选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆