Report.GetTotalPages Method
Returns the total number of logical pages in the report.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public MustOverride Function GetTotalPages As Integer
'Usage
Dim instance As Report
Dim returnValue As Integer
returnValue = instance.GetTotalPages
public abstract int GetTotalPages ()
public:
virtual int GetTotalPages () abstract
public abstract int GetTotalPages ()
public abstract function GetTotalPages () : int
Return Value
An integer value containing the total number of logical pages in the report.
Remarks
Because this method returns the number of logical pages in the report, the value returned may not match the number of physical pages in the report.
See Also
Reference
Report Class
Report Members
Microsoft.Reporting.WebForms Namespace