ActiveReports Developer 7
PageEnd Event
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : PageEnd Event

Glossary Item Box

Raised after the report finishes rendering each page.

Syntax

Visual Basic (Declaration) 
Public Event PageEnd As System.EventHandler
C# 
public event System.EventHandler PageEnd

Remarks

This event is used to update any page level variables when running an unbound report.

Example

C#Copy Code
private void rptTest_PageEnd(object sender, System.EventArgs eArgs)
{
    this.CurrentPage.DrawText("Confidential", 4F,10F,2F,0.188F);
}
Visual BasicCopy Code
Private Sub rptDocument_PageEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PageEnd
    Me.CurrentPage.DrawText("Confidential", 4.0F, 10.0F, 2.0F, 0.188F)
End Sub

See Also