Share via


CrystalReportViewer.HasExportButton Property

Gets or sets whether the export button on the toolbar is visible or hidden.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration

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

Example

This example shows how to check if the export button is displayed on the toolbar.

'Declaration

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

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