Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / OutputRange Class / GetMaxPage Method
The ending page number (used if the current range is to the end of a document).

In This Topic
    GetMaxPage Method (OutputRange)
    In This Topic
    Gets the ending page number of the current range.
    Syntax
    'Declaration
     
    Public Function GetMaxPage( _
       ByVal maxPageNumber As Integer _
    ) As Integer
    public int GetMaxPage( 
       int maxPageNumber
    )

    Parameters

    maxPageNumber
    The ending page number (used if the current range is to the end of a document).

    Return Value

    The actual ending page number.
    See Also