PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / GetPageInfo Method / GetPageInfo(Int32,Int32,Int32,Int32) Method
The 0-based index of the target page.
OUT: 0-based index of the document item (C1MultiDocumentItem) that contains the target page.
OUT: 0-based index of the target page within the document item that contains it (indicated by itemIndex).
OUT: The logical page number within the current document.

In This Topic
    GetPageInfo(Int32,Int32,Int32,Int32) Method
    In This Topic
    Retrieves extended information about a page with the specified index.
    Syntax
    'Declaration
     
    Public Overloads Function GetPageInfo( _
       ByVal pageIndex As Integer, _
       ByRef itemIndex As Integer, _
       ByRef itemPageIndex As Integer, _
       ByRef pageNo As Integer _
    ) As Boolean
    public bool GetPageInfo( 
       int pageIndex,
       out int itemIndex,
       out int itemPageIndex,
       out int pageNo
    )

    Parameters

    pageIndex
    The 0-based index of the target page.
    itemIndex
    OUT: 0-based index of the document item (C1MultiDocumentItem) that contains the target page.
    itemPageIndex
    OUT: 0-based index of the target page within the document item that contains it (indicated by itemIndex).
    pageNo
    OUT: The logical page number within the current document.

    Return Value

    true if pageIndex is valid, false otherwise.
    See Also