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.
Property | Description |
---|---|
AbortMessage | Gets the message displayed if the print job is canceled. |
BeginPrinting | Gets whether the print job is beginning or ending. |
Cancel | Gets or sets whether to cancel the default abort message box. |
Id | Gets the print job identifier. |
IsPreview | Gets whether this event is for the print preview. |