ActiveReports Developer 7
ReportInfo Class
Members  Example  See Also 
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace : ReportInfo Class

Glossary Item Box

The ReportInfo control displays the information specified in the FormatString property.

Object Model

ReportInfo Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class ReportInfo 
   Inherits ARControl
C# 
public sealed class ReportInfo : ARControl 

Remarks

Included format strings supply Page N of M and report run date information.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)  
{  
    this.reportInfo1.Font = new System.Drawing.Font("Arial", 10.0f); 
    this.reportInfo1.FormatString = "Page {PageNumber} of {PageCount} on {RunDateTime}";  
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.ReportInfo1.Font = New System.Drawing.Font("Arial", 10.0f)
    Me.ReportInfo1.FormatString = "Page {PageNumber} of {PageCount} on {RunDateTime}"
End Sub

Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.ReportInfo

See Also