CrystalReportViewer.HasPrintButton Property
Gets or sets whether the print button on the toolbar is visible or hidden.
Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)
Syntax
'Declaration
Public Property HasPrintButton As Boolean
public bool HasPrintButton {get; set;}
Example
This example shows how to check if the print button is displayed on the toolbar.
'Declaration
Private Function GetHasPrintButton() As Boolean
GetHasPrintButton = CrystalReportViewer.HasPrintButton
End Function
private bool GetHasPrintButton()
{
return crystalReportViewer.HasPrintButton;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports .NET 9
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Web Namespace