PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / OutputRange Class / OutputRange Constructor / OutputRange Constructor(Int32,Int32)
The number of the first page to include (1-based).
The number of the last page to include (1-based).

In This Topic
    OutputRange Constructor(Int32,Int32)
    In This Topic
    Creates an instance of OutputRange that includes a single interval of pages. FromPage may be greater than ToPage, in that case the range is inverted.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fromPage As Integer, _
       ByVal toPage As Integer _
    )
    public OutputRange( 
       int fromPage,
       int toPage
    )

    Parameters

    fromPage
    The number of the first page to include (1-based).
    toPage
    The number of the last page to include (1-based).
    See Also