Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / OutputRange Class / GetNextPage Method / GetNextPage(Int32) Method
The current page number.

In This Topic
    GetNextPage(Int32) Method
    In This Topic
    Returns the page number in the range following the specified one, or -1 if the specified number was the last one.
    Syntax
    'Declaration
     
    Public Overloads Function GetNextPage( _
       ByVal pageNumber As Integer _
    ) As Integer
    public int GetNextPage( 
       int pageNumber
    )

    Parameters

    pageNumber
    The current page number.

    Return Value

    The next page number or -1 if there's none.
    See Also