Returns the page number in the range following the specified one, or -1 if the specified number was the last one.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int GetNextPage(
	int pageNumber
)
Visual Basic
Public Function GetNextPage ( _
	pageNumber As Integer _
) As Integer

Parameters

pageNumber
Type: System..::..Int32
The current page number.

Return Value

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

See Also