Converts a 0-based page index to the logical 1-based page number.

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

Syntax

C#
public static int PageIndexToPageNumber(
	int pageIndex,
	Object document
)
Visual Basic
Public Shared Function PageIndexToPageNumber ( _
	pageIndex As Integer, _
	document As Object _
) As Integer

Parameters

pageIndex
Type: System..::..Int32
The 0-based page index.
document
Type: System..::..Object
The document object.

Return Value

The logical 1-based page number.

See Also