Spread Windows Forms 11.0 Product Documentation
PrintHeaderFooterAreaEventArgs Constructor


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PrintHeaderFooterAreaEventArgs Class : PrintHeaderFooterAreaEventArgs Constructor
View that contains the sheet being printed
Graphics device that handles printing
Determines if the area being printed is in the header or footer
Rectangular area representing the area of the sheet to be printed
Number of the current page being printed
Cell range
Creates a new object with the PrintBackground event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal g As Graphics, _
   ByVal isHeader As Boolean, _
   ByVal rectangle As Rectangle, _
   ByVal pageNum As Integer, _
   ByVal cells As CellRange _
)
'Usage
 
Dim view As SpreadView
Dim g As Graphics
Dim isHeader As Boolean
Dim rectangle As Rectangle
Dim pageNum As Integer
Dim cells As CellRange
 
Dim instance As New PrintHeaderFooterAreaEventArgs(view, g, isHeader, rectangle, pageNum, cells)
public PrintHeaderFooterAreaEventArgs( 
   SpreadView view,
   Graphics g,
   bool isHeader,
   Rectangle rectangle,
   int pageNum,
   CellRange cells
)

Parameters

view
View that contains the sheet being printed
g
Graphics device that handles printing
isHeader
Determines if the area being printed is in the header or footer
rectangle
Rectangular area representing the area of the sheet to be printed
pageNum
Number of the current page being printed
cells
Cell range
See Also

Reference

PrintHeaderFooterAreaEventArgs Class
PrintHeaderFooterAreaEventArgs Members