Returns the page number in the range following the specified one, or
-1 if the specified number was the last one.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public int GetNextPage( int pageNumber, ref int cookie ) |
Visual Basic |
---|
Public Function GetNextPage ( _ pageNumber As Integer, _ ByRef cookie As Integer _ ) As Integer |
Parameters
- pageNumber
- Type: System..::..Int32
The current page number.
- cookie
- Type: System..::..Int32%
A cookie used to avoid infinite loops in cases where the same page number appears in several ranges. Set this value to 0 before the first call to this method.