[]
Creates a new object with the PrintBackground event arguments.
public PrintHeaderFooterAreaEventArgs(SpreadView view, Graphics g, bool isHeader, Rectangle rectangle, int pageNum, CellRange cells)
Public Sub New(view As SpreadView, g As Graphics, isHeader As Boolean, rectangle As Rectangle, pageNum As Integer, cells As CellRange)
| Type | Name | Description |
|---|---|---|
| SpreadView | view | View that contains the sheet being printed |
| Graphics | g | Graphics device that handles printing |
| bool | isHeader | Determines if the area being printed is in the header or footer |
| Rectangle | rectangle | Rectangular area representing the area of the sheet to be printed |
| int | pageNum | Number of the current page being printed |
| CellRange | cells | Cell range |