获取或设置工具栏上的导出按钮是可见还是隐藏。
命名空间 CrystalDecisions.Web 程序集 CrystalDecisions.Web (CrystalDecisions.Web.dll)
语法
声明
Public Property HasExportButton As Boolean
public bool HasExportButton {get; set;}
示例
此示例显示如何检查导出按钮是否显示在工具栏上。
声明
Private Function GetHasExportButton() As Boolean
GetHasExportButton = CrystalReportViewer.HasExportButton
End Function
private bool GetHasExportButton()
{
return crystalReportViewer.HasExportButton;
}
版本信息
Crystal Reports Basic for Visual Studio 2008
从此版本开始支持: Crystal Reports .NET 9
另请参见
引用
CrystalReportViewer 类
CrystalReportViewer 成员
CrystalDecisions.Web 命名空间