FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / PrintDocumentGridRenderer Class / PrintPage Method / PrintPage(PrintPageEventArgs,Int32,Boolean) Method
System.Drawing.Printing.PrintPageEventArgs that provides parameters for rendering the page.
Index of the page to print.
Printing in preview window.

In This Topic
    PrintPage(PrintPageEventArgs,Int32,Boolean) Method
    In This Topic
    Renders a specific page into the document.
    Syntax
    'Declaration
     
    
    Public Overloads Sub PrintPage( _
       ByVal e As PrintPageEventArgs, _
       ByVal pageIndex As Integer, _
       Optional ByVal isPreview As Boolean _
    ) 
    public void PrintPage( 
       PrintPageEventArgs e,
       int pageIndex,
       bool isPreview
    )

    Parameters

    e
    System.Drawing.Printing.PrintPageEventArgs that provides parameters for rendering the page.
    pageIndex
    Index of the page to print.
    isPreview
    Printing in preview window.
    Remarks
    This method is used to render specific ranges of pages within the document.
    See Also