See Also

Section Class  | Section Members  | AfterPrint  | Format

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

BeforePrint Event

Occurs immediately before the section is rendered to the page.

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

Remarks

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.

Example

[C#] 

private void ghCustomerID_BeforePrint(object sender, System.EventArgs eArgs) 

    this.rtf.ReplaceField("TotalOrders",this.txtTotalOrders.Text); 
}

[Visual Basic] 

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

See Also

Section Class  | Section Members  | AfterPrint  | Format

 

 


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