ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / GetMaxPageNumber Method / GetMaxPageNumber(Object,Int32) Method
The target document.
The page count.

In This Topic
    GetMaxPageNumber(Object,Int32) Method
    In This Topic
    Gets the maximum valid physical page number (1-based index) for the specified document.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetMaxPageNumber( _
       ByVal document As System.Object, _
       ByVal pageCount As System.Integer _
    ) As System.Integer
    public static System.int GetMaxPageNumber( 
       System.object document,
       System.int pageCount
    )

    Parameters

    document
    The target document.
    pageCount
    The page count.

    Return Value

    The maximum page number valid for this document.
    See Also