ActiveReports 9
PageNumber Property (SectionReport)
Example 

Returns the number of the current page being processed when a report is running.
Syntax
'Declaration
 
Public ReadOnly Property PageNumber As System.Integer
public System.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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SectionReport Class
SectionReport Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum