[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.SectionDocument.PrintAborted

PrintAborted Event

Occurs when the printing of the document pages is canceled.

Namespace: GrapeCity.ActiveReports.Document
Assembly: MESCIUS.ActiveReports.dll
Syntax
public event PrintAbortedEventHandler PrintAborted
Returns
Type Description
PrintAbortedEventHandler Occurs when the printing of the document pages is canceled.
Examples
private GrapeCity.ActiveReports.SectionReport sectionReport = new GrapeCity.ActiveReports.SectionReport();
private bool isCancelled = false;
private void button_Click(object sender, RoutedEventArgs e)
{
	sectionReport.Document.PrintAborted  += (sender, e) =>
	{
		isCancelled = true;
	};
	//To call the Print method, add a reference to Viewer.Win or Viewer.WPF
	sectionReport.Document.Print();
}