ActiveReports 15 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class / PageNumber Property
Example

In This Topic
    PageNumber Property (SectionReport)
    In This Topic
    Returns the number of the current page being processed when a report is running.
    Syntax
    'Declaration
     
    Public ReadOnly Property PageNumber As Integer
    public int PageNumber {get;}
    Example
    private void detail1_Format(object sender, System.EventArgs eArgs)
    {
        this.textBox1.Text=this.PageNumber.ToString();
    }
    Private Sub detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
        Me.textBox1.Text = Me.PageNumber
    End Sub
    See Also