ActiveReports3 Request technical support
PageNumber Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property PageNumber As Integer
Visual Basic (Usage)Copy Code
Dim instance As ActiveReport3
Dim value As Integer
 
value = instance.PageNumber
C# 
public int PageNumber {get;}

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.txtPage.Text=this.PageNumber.ToString();
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.TextBox3.Text = Me.PageNumber
End Sub

See Also