Returns the current page instance.
            
            
            
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| Public ReadOnly Property CurrentPage As Page | 
| C# |  | 
|---|
| public Page CurrentPage {get;} | 
Remarks
            
            
             Example
Example
| C# |  Copy Code | 
|---|
| private void rptTest_PageEnd(object sender, System.EventArgs eArgs)
{
    this.CurrentPage.DrawText("Confidential", 4F,10F,2F,0.188F);
} | 
| Visual Basic |  Copy 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
See Also