Share via


ReportViewer.GetTotalPages Method (PageCountMode)

 

Returns the page count of the report and a PageCountMode value that indicates whether the page count is estimated or actual.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public int GetTotalPages(
    out PageCountMode pageCountMode
)
public:
int GetTotalPages(
    [OutAttribute] PageCountMode% pageCountMode
)
member GetTotalPages : 
        pageCountMode:PageCountMode byref -> int
Public Function GetTotalPages (
    <OutAttribute> ByRef pageCountMode As PageCountMode
) As Integer

Parameters

Return Value

Type: System.Int32

An integer value containing the total number of pages in the report.

Remarks

For more information, see the GetTotalPages method.

See Also

GetTotalPages Overload
ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top