ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class / CurrentPage Property
Example

In This Topic
    CurrentPage Property (SectionReport)
    In This Topic
    Returns the current page instance.
    Syntax
    'Declaration
     
    Public ReadOnly Property CurrentPage As Page
    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
    private void rptTest_PageEnd(object sender, System.EventArgs eArgs)
    {
        this.CurrentPage.DrawText("Confidential", 4F,10F,2F,0.188F);
    }
    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