ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / PageIndexToPageNumber Method
The 0-based page index.
The document object.

In This Topic
    PageIndexToPageNumber Method
    In This Topic
    Converts a 0-based page index to the logical 1-based page number.
    Syntax
    'Declaration
     
    Public Shared Function PageIndexToPageNumber( _
       ByVal pageIndex As System.Integer, _
       ByVal document As System.Object _
    ) As System.Integer
    public static System.int PageIndexToPageNumber( 
       System.int pageIndex,
       System.object document
    )

    Parameters

    pageIndex
    The 0-based page index.
    document
    The document object.

    Return Value

    The logical 1-based page number.
    See Also