[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocument.GetPageInfo

GetPageInfo Method

GetPageInfo(int, out int, out int, out int)

Retrieves extended information about a page with the specified index.

Declaration
public bool GetPageInfo(int pageIndex, out int itemIndex, out int itemPageIndex, out int pageNo)
Public Function GetPageInfo(pageIndex As Integer, ByRef itemIndex As Integer, ByRef itemPageIndex As Integer, ByRef pageNo As Integer) As Boolean
Parameters
Type Name Description
int pageIndex

The 0-based index of the target page.

int itemIndex

OUT: 0-based index of the document item (C1MultiDocumentItem) that contains the target page.

int itemPageIndex

OUT: 0-based index of the target page within the document item that contains it (indicated by itemIndex).

int pageNo

OUT: The logical page number within the current document.

Returns
Type Description
bool

true if pageIndex is valid, false otherwise.

GetPageInfo(int, out int, out ResolvedPage)

Retrieves extended information about a page with the specified index.

Declaration
public bool GetPageInfo(int pageIndex, out int pageNo, out ResolvedPage resolvedPage)
Public Function GetPageInfo(pageIndex As Integer, ByRef pageNo As Integer, ByRef resolvedPage As ResolvedPage) As Boolean
Parameters
Type Name Description
int pageIndex

The 0-based index of the target page.

int pageNo

OUT: The logical page number within the current document.

ResolvedPage resolvedPage

OUT: The ResolvedPage.

Returns
Type Description
bool

true if pageIndex is valid, false otherwise.