[]
Occurs when the printing error occurs.
public event PrintingThreadErrorEventHandler PrintingThreadErrorEvent
Type | Description |
---|---|
PrintingThreadErrorEventHandler | Occurs when the printing error occurs. |
private GrapeCity.ActiveReports.SectionReport sectionReport = new GrapeCity.ActiveReports.SectionReport();
private void button_Click(object sender, RoutedEventArgs e)
{
sectionReport.Document.PrintingThreadErrorEvent += (sender, e) =>
{
label1.Text = "Error: " e.Exception.Message;
};
sectionReport.Document.Print();
}