Document Library for WPF | ComponentOne
C1.WPF.Document.4.5.2 Assembly / C1.WPF.Document 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
    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