Spread Windows Forms 12.0 Product Documentation
PrintBackgroundEventArgs Constructor


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintBackgroundEventArgs Class : PrintBackgroundEventArgs Constructor
View that contains the sheet being printed
Graphics device that handles printing
Rectangular area that represents the area of the sheet to be printed
Number of the current page being printed
Creates a new object with the PrintBackground event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal g As Graphics, _
   ByVal sheetRectangle As Rectangle, _
   ByVal pageNum As Integer _
)
'Usage
 
Dim view As SpreadView
Dim g As Graphics
Dim sheetRectangle As Rectangle
Dim pageNum As Integer
 
Dim instance As New PrintBackgroundEventArgs(view, g, sheetRectangle, pageNum)
public PrintBackgroundEventArgs( 
   SpreadView view,
   Graphics g,
   Rectangle sheetRectangle,
   int pageNum
)

Parameters

view
View that contains the sheet being printed
g
Graphics device that handles printing
sheetRectangle
Rectangular area that represents the area of the sheet to be printed
pageNum
Number of the current page being printed
See Also

Reference

PrintBackgroundEventArgs Class
PrintBackgroundEventArgs Members