Creates a new object with the PrintBackground event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As Graphics, _
ByVal As Boolean, _
ByVal As Rectangle, _
ByVal As Integer, _
ByVal 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 ,
Graphics ,
bool ,
Rectangle ,
int ,
CellRange
)
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