GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : PrintProgress Event |
'Declaration Public Event PrintProgress As System.EventHandler
public event System.EventHandler PrintProgress
private int x = 0; private void testLA_PrintProgress(object sender, System.EventArgs eArgs) { //Print Progress is triggered once per page printed. myWinForm.Label1.Text = "Now Printing Page " + x; x++; }
Private x As Integer = 0 Private Sub SectionReport1_PrintProgress(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PrintProgress myWinForm.Label1.Text = "Now Printing Page " + x x = x + 1 End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2