Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns the total number of pages in the report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
Public Function GetTotalPages As Integer
'Usage
Dim instance As ReportViewer
Dim returnValue As Integer
returnValue = instance.GetTotalPages
public int GetTotalPages ()
public:
int GetTotalPages ()
public int GetTotalPages ()
public function GetTotalPages () : int
Return Value
An integer value containing the total number of pages in the report.
Remarks
When the report is displayed in normal mode (DisplayMode is Normal), this method returns the same value as GetTotalPages in LocalReport or ServerReport, depending on the current value of ProcessingMode. When the report is displayed in print layout mode (DisplayMode is PrintLayout), this method returns the total number of pages that have been generated currently. If report pages are still being generated (the RenderingComplete event is not yet triggered), this value will update as more pages are generated.
See Also
Reference
ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace