PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / OutputRange Class / OutputRange Constructor / OutputRange Constructor(Int32)
The maximum page number (used to prevent infinite enumeration).

In This Topic
    OutputRange Constructor(Int32)
    In This Topic
    Creates a new instance of the output range that includes all pages in the document.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal maxPageNumber As Integer _
    )
    public OutputRange( 
       int maxPageNumber
    )

    Parameters

    maxPageNumber
    The maximum page number (used to prevent infinite enumeration).
    See Also