ActiveReports3 Request technical support
PrintAborted Event
See Also  Example


Raised when the user cancels a print job.

Syntax

Visual Basic (Declaration) 
Public Event PrintAborted() As EventHandler
Visual Basic (Usage)Copy Code
Dim instance As ActiveReport3
Dim handler As EventHandler
 
AddHandler instance.PrintAborted, handler
C# 
public event EventHandler PrintAborted()

Example

C#Copy Code
private void rptDataDynamics_PrintAborted(object sender, System.EventArgs eArgs)
{
   System.Windows.Forms.MessageBox.Show(
"Printing has been aborted.");
}
Visual BasicCopy Code
Private Sub rptDD_PrintAborted(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PrintAborted
    MessageBox.Show("Printing has been aborted.")
End Sub

See Also