ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / ReportInfo Class
Members Example

In This Topic
    ReportInfo Class
    In This Topic
    The ReportInfo control displays the information specified in the FormatString property.
    Object Model
    ReportInfo Class
    Syntax
    'Declaration
     
    Public NotInheritable Class ReportInfo 
       Inherits ARControl
       Implements GrapeCity.ActiveReports.Controls.Design.IPersistControl 
    Remarks
    Included format strings supply Page N of M and report run date information.
    Example
    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}";  
    }
    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