| Visual Basic (Declaration) | |
|---|---|
Public Event PrintAbort() As PrintAbortEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event PrintAbortEventHandler PrintAbort() | |
The event handler receives an argument of type PrintAbortEventArgs containing data related to this event. The following PrintAbortEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Abort | Gets or sets whether to discontinue the print job. |
This example raises the PrintAbort event when the printing job is cancelled.
| C# | Copy Code |
|---|---|
private void menu_Click(object
sender, System.EventArgs e) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub Menu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem23.Click | |
This event is raised by the OnPrintAbort method when the user cancels the print job.
If you have the PrintInfo.AbortMessage property set, a message box appears with that message.
For more details on the individual event arguments, refer to PrintAbortEventArgs members.
Reference
FpSpread ClassFpSpread Members
AbortMessage Property
PrintAbortEventArgs Class