在Crystal Report Viewer中自定义导出选项

Sha*_*ams 6 crystal-reports

我在Visual Studio 2010中使用SAP水晶报表.我想自定义水晶报表查看器导出选项.也就是说,我想只显示导出到pdf,并在我的水晶报表查看器中表现出色.
我怎么能这样做

Nic*_*tch 5

您可以使用以下命令限制13.0.x中的ReportViewer:

ReportViewer.AllowedExportFormats = (int)(ViewerExportFormats.ExcelFormat | ViewerExportFormats.PdfFormat);
Run Code Online (Sandbox Code Playgroud)