[]
        
(Showing Draft Content)

C1.C1Preview.Export.ExportUtil.GetMaxPageNumber

GetMaxPageNumber Method

GetMaxPageNumber(object, int)

Gets the maximum valid physical page number (1-based index) for the specified document.

Declaration
public static int GetMaxPageNumber(object document, int pageCount)
Parameters
Type Name Description
object document

The target document.

int pageCount

The page count.

Returns
Type Description
int

The maximum page number valid for this document.

GetMaxPageNumber(object)

Gets the maximum valid physical page number (1-based index) for the specified document.

Declaration
public static int GetMaxPageNumber(object document)
Parameters
Type Name Description
object document

The target document.

Returns
Type Description
int

The maximum page number valid for this document.