[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.SectionDocument.PrintingThreadErrorEvent

PrintingThreadErrorEvent Event

Occurs when the printing error occurs.

Namespace: GrapeCity.ActiveReports.Document
Assembly: MESCIUS.ActiveReports.dll
Syntax
public event PrintingThreadErrorEventHandler PrintingThreadErrorEvent
Returns
Type Description
PrintingThreadErrorEventHandler Occurs when the printing error occurs.
Examples
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();
}