PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / PageIndicesToPageNumbers Method
The array of page indices.
The document.

In This Topic
    PageIndicesToPageNumbers Method (ExportUtil)
    In This Topic
    Converts an array of 0-based physical page indices to an array of 1-based logical page numbers.
    Syntax
    'Declaration
     
    Public Shared Function PageIndicesToPageNumbers( _
       ByVal pageIndices() As Integer, _
       ByVal document As Object _
    ) As Integer()
    public static int[] PageIndicesToPageNumbers( 
       int[] pageIndices,
       object document
    )

    Parameters

    pageIndices
    The array of page indices.
    document
    The document.

    Return Value

    The array of logical page numbers.
    See Also