PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / GetMaxPageNumber Method / GetMaxPageNumber(Object) Method
The target document.

In This Topic
    GetMaxPageNumber(Object) 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 Object _
    ) As Integer
    public static int GetMaxPageNumber( 
       object document
    )

    Parameters

    document
    The target document.

    Return Value

    The maximum page number valid for this document.
    See Also