ActiveReports 17 .NET Edition
GrapeCity.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
    Public NotInheritable Class ReportInfo 
       Inherits ARControl
       Implements GrapeCity.ActiveReports.Controls.Design.IPersistControl 
    Included format strings supply Page N of M and report run date information.
    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


    See Also