Visual Basic (Declaration) | |
---|---|
Public Event BeforePrint As System.EventHandler |
C# | |
---|---|
public event System.EventHandler BeforePrint |
When this event occurs the section layout has been finalized and is ready to render. Any changes that might affect the size of the section (such as changing the section Height property) will be ignored.
C# | Copy Code |
---|---|
private void ghCustomerID_BeforePrint(object sender, System.EventArgs eArgs) { this.rtf.ReplaceField("TotalOrders",this.txtTotalOrders.Text); } |
Visual Basic | Copy Code |
---|---|
Private Sub ghCustomerID_BeforePrint(ByVal sender As Object, ByVal e As System.EventArgs) Handles _ ghCustomerID.BeforePrint Me.rtf.ReplaceField("TotalOrders", Me.txtTotalOrders.Text) End Sub |
Reference
Section ClassSection Members
ActiveReports6~GrapeCity.ActiveReports.Section~AfterPrint_EV
ActiveReports6~GrapeCity.ActiveReports.Section~Format_EV