Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / PrintMessageBox Event


In This Topic
    PrintMessageBox Event
    In This Topic
    Occurs before and after a print job.
    Syntax
    'Declaration
     
    
    Public Event PrintMessageBox As PrintMessageBoxEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As PrintMessageBoxEventHandler
     
    AddHandler instance.PrintMessageBox, handler
    public event PrintMessageBoxEventHandler PrintMessageBox
    Event Data

    The event handler receives an argument of type PrintMessageBoxEventArgs containing data related to this event. The following PrintMessageBoxEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the message displayed if the print job is canceled.  
    Gets whether the print job is beginning or ending.  
    Gets or sets whether to cancel the default abort message box.  
    Gets the print job identifier.  
    Gets whether this event is for the print preview.  
    See Also