PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / PageIndexToPageNumber Method
The 0-based page index.
The document object.

In This Topic
    PageIndexToPageNumber Method (ExportUtil)
    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 Integer, _
       ByVal document As Object _
    ) As Integer
    public static int PageIndexToPageNumber( 
       int pageIndex,
       object document
    )

    Parameters

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

    Return Value

    The logical 1-based page number.
    See Also