Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether the zoom factor list on the toolbar is visible or hidden.
Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)
Syntax
'Declaration
Public Property ShowZoomButton As Boolean
public bool ShowZoomButton {get; set;}
Example
This example will display all of the available buttons in the CrystalReportViewer toolbar.
'Declaration
Private Sub SetShowButtons()
CrystalReportViewer.ShowCloseButton = True
CrystalReportViewer.ShowExportButton = True
CrystalReportViewer.ShowGotoPageButton = True
CrystalReportViewer.ShowGroupTreeButton = True
CrystalReportViewer.ShowPageNavigateButtons = True
CrystalReportViewer.ShowPrintButton = True
CrystalReportViewer.ShowRefreshButton = True
CrystalReportViewer.ShowTextSearchButton = True
CrystalReportViewer.ShowZoomButton = True
End Sub
private void SetShowButtons()
{
crystalReportViewer.ShowCloseButton = true;
crystalReportViewer.ShowExportButton = true;
crystalReportViewer.ShowGotoPageButton = true;
crystalReportViewer.ShowGroupTreeButton = true;
crystalReportViewer.ShowPageNavigateButtons = true;
crystalReportViewer.ShowPrintButton = true;
crystalReportViewer.ShowRefreshButton = true;
crystalReportViewer.ShowTextSearchButton = true;
crystalReportViewer.ShowZoomButton = true;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace