Xceed Grid for WinForms v4.3 Documentation
QueryPrintPageEventArgs Constructor


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > QueryPrintPageEventArgs Class : QueryPrintPageEventArgs Constructor
The PrintPageEventArgs used by the System.Drawing.Printing.PrintDocument.PrintPage event.
The number of the page that is about to be printed.
Indicates if the page is to be printed.
Initializes a new instance of the QueryPrintPageEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal printPageEventArgs As PrintPageEventArgs, _
   ByVal currentPrintingPage As Integer, _
   ByVal isPageSelected As Boolean _
)
'Usage
 
Dim printPageEventArgs As PrintPageEventArgs
Dim currentPrintingPage As Integer
Dim isPageSelected As Boolean
 
Dim instance As New QueryPrintPageEventArgs(printPageEventArgs, currentPrintingPage, isPageSelected)
public QueryPrintPageEventArgs( 
   PrintPageEventArgs printPageEventArgs,
   int currentPrintingPage,
   bool isPageSelected
)

Parameters

printPageEventArgs
The PrintPageEventArgs used by the System.Drawing.Printing.PrintDocument.PrintPage event.
currentPrintingPage
The number of the page that is about to be printed.
isPageSelected
Indicates if the page is to be printed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

QueryPrintPageEventArgs Class
QueryPrintPageEventArgs Members