[]
Occurs when the document pages are printing.
public event PrintProgressEventHandler PrintProgress
Type | Description |
---|---|
PrintProgressEventHandler | Occurs when the document pages are printing. |
private GrapeCity.ActiveReports.SectionReport sectionReport = new GrapeCity.ActiveReports.SectionReport();
private int pageNum = 0;
private void button_Click(object sender, RoutedEventArgs e)
{
sectionReport.Document.PrintProgress += (sender, e) =>
{
label1.Text = "Printing page: " + pageNum;
pageNum++;
};
sectionReport.Document.Print();
}