ActiveReports Developer 7
PageNumber Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : PageNumber Property

Glossary Item Box

Returns the number of the current page being processed when a report is running.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property PageNumber As System.Integer
C# 
public System.int PageNumber {get;}

Example

C#Copy Code
private void detail1_Format(object sender, System.EventArgs eArgs)
{
    this.textBox1.Text=this.PageNumber.ToString();
}
Visual BasicCopy Code
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