MonoReports.Model.Report.Report C# (CSharp) Méthode

Report() public méthode

public Report ( ) : System
Résultat System
        public Report()
        {
            Width = 538.582677165354; // 210 - 20  = 190 mm (-20mm for marings)
            Height = 785.196850393701;//297 - 20 = 277 mm (-20mm for marings)
            Margin = new Thickness(28.3464566929134);
            Groups = new List<Group> ();
            Parameters = new List<Field> ();
            DataFields = new List<Field> ();
            GroupHeaderSections = new List<GroupHeaderSection> ();
            GroupFooterSections = new List<GroupFooterSection> ();
            Pages = new List<Page> ();
            ResourceRepository = new Dictionary<string,byte[]> ();
            ReportHeaderSection = new Controls.ReportHeaderSection { Location = new Point (0, 0), Size = new Model.Size (Width, 50) };
            PageHeaderSection = new Controls.PageHeaderSection { Location = new Point (0, 0), Size = new Model.Size (Width, 30) };
            DetailSection = new Controls.DetailSection { Location = new Point (0, 150), Size = new Model.Size (Width, 50) };
            PageFooterSection = new Controls.PageFooterSection { Location = new Point (0, 300), Size = new Model.Size (Width, 30) };
            ReportFooterSection = new Controls.ReportFooterSection { Location = new Point (0, 300), Size = new Model.Size (Width, 30) };
        }