Creates a new object with the Print event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Integer _
)
'Usage
Dim sheetIndex As Integer
Dim header As Boolean
Dim pageBreak As Boolean
Dim skip As Boolean
Dim row As Integer
Dim instance As New PrintEventArgs(sheetIndex, header, pageBreak, skip, row)
public PrintEventArgs(
int ,
bool ,
bool ,
bool ,
int
)
Parameters
- sheetIndex
- Index of the sheet to print
- header
- Whether to print the sheet header
- pageBreak
- Whether to include a page break
- skip
- Whether to skip printing this sheet
- row
- Row index
See Also