See Also

ActiveReport Class  | ActiveReport Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

CurrentPage Property

Returns the current page instance.

[Visual Basic]
Public ReadOnly Property CurrentPage As Page
[C#]
public Page CurrentPage {get;}

Remarks

This property allows you to use primitive drawing methods or apply templates to report pages while the report is processing.

Example

[C#] 

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

    this.CurrentPage.DrawText("Confidential", 4F,10F,2F,0.188F); 
}

[Visual Basic] 

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

ActiveReport Class  | ActiveReport Members

 

 


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