CrystalReportViewer.ShowLastPage Method

Shows the last page of the report.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration
Public Overrideable Sub ShowLastPage () 
public virtual void ShowLastPage ()

Example

This example calls the ShowLastPage() method to set the CrystalReportViewer to display the last page of the current report.

'Declaration

    Private Sub ShowLastPageOfReport()
      CrystalReportViewer.ShowLastPage()
    End Sub
    private void ShowLastPageOfReport()
    {
      crystalReportViewer.ShowLastPage();
    }

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