[]
        
(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)
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)
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.