Creates a new object with the PrintMessageBox event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As String, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As Boolean _
)
'Usage
Dim view As SpreadView
Dim abortMessage As String
Dim id As Integer
Dim beginPrinting As Boolean
Dim isPreview As Boolean
Dim instance As New PrintMessageBoxEventArgs(view, abortMessage, id, beginPrinting, isPreview)
public PrintMessageBoxEventArgs(
SpreadView ,
string ,
int ,
bool ,
bool
)
Parameters
- view
- View that contains the sheet being printed
- abortMessage
- Value of the PrintInfo.AbortMessage property for this sheet
- id
- Print job identifier
- beginPrinting
- Whether the print job is beginning
- isPreview
- Flags event for PrintPreview
See Also