Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal view As SpreadView, _ ByVal abortMessage As String, _ ByVal id As Integer, _ ByVal beginPrinting As Boolean, _ ByVal isPreview As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
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) |
C# | |
---|---|
public PrintMessageBoxEventArgs( SpreadView view, string abortMessage, int id, bool beginPrinting, bool isPreview ) |
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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8