Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / PrintMessageBoxEventArgs Class / PrintMessageBoxEventArgs Constructor / PrintMessageBoxEventArgs Constructor(SpreadView,String,Int32,Boolean,Boolean)
View that contains the sheet being printed
Value of the PrintInfo.AbortMessage property for this sheet
Print job identifier
Whether the print job is beginning
Flags event for PrintPreview


In This Topic
    PrintMessageBoxEventArgs Constructor(SpreadView,String,Int32,Boolean,Boolean)
    In This Topic
    Creates a new object with the PrintMessageBox event arguments.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal view As SpreadView, _
       ByVal abortMessage As String, _
       ByVal id As Integer, _
       ByVal beginPrinting As Boolean, _
       ByVal isPreview 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 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
    See Also