See Also

ActiveReport Class  | ActiveReport Members  | PrintAborted

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

PrintProgress Event

Raised for each page while printing the report document.

[Visual Basic]
Public Event PrintProgress() As EventHandler
[C#]
public event EventHandler PrintProgress();

Example

This sample assumes that you have created a public property in the report and passed in a reference to the calling form. You can also use this technique to set the title bar text on the form window.

[C#] 

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++; 
}

[Visual Basic] 

Private x As Integer = 0
Private Sub rptDD_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

See Also

ActiveReport Class  | ActiveReport Members  | PrintAborted

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.