CrystalReportViewer.HasPrintButton 属性

获取或设置工具栏上的打印按钮是可见还是隐藏。

命名空间 CrystalDecisions.Web 程序集 CrystalDecisions.Web (CrystalDecisions.Web.dll)

语法

声明

Public Property HasPrintButton As Boolean
public bool HasPrintButton {get; set;}

示例

此示例显示如何检查打印按钮是否显示在工具栏上。

声明

    Private Function GetHasPrintButton() As Boolean
      GetHasPrintButton = CrystalReportViewer.HasPrintButton
    End Function
    private bool GetHasPrintButton()
    {
      return crystalReportViewer.HasPrintButton;
    }

版本信息

Crystal Reports Basic for Visual Studio 2008

从此版本开始支持: Crystal Reports .NET 9

另请参见

引用

CrystalReportViewer 类
CrystalReportViewer 成员
CrystalDecisions.Web 命名空间