Esempio n. 1
0
        private void AddGraphSection(ReportDocument reportDocument, ReportBuilder builder)
        {
            if (image != null)
            {
                // add page break
                builder.AddPageBreak();

                // add text sections
                builder.AddText("\n\nStrategy Graph\n", TextStyle.Heading2);

                SectionImage section = new SectionImage(image);
                section.HorizontalAlignment = ReportPrinting.HorizontalAlignment.Center;
                builder.AddSection(section);
            }
        }