I'm using Stimul Report to create a report page. The report page shows correctly. I am reading an image for the stimulsoft web report from database.
Result shows many record image show two images on one page. But I want to show each image on a separate page.
This my code
foreach (StiPage page in report.Pages)
{
page.Orientation = StiPageOrientation.Portrait;
page.Margins.Top = 0;
page.Margins.Bottom = 0;
page.Margins.Left = 0;
page.Margins.Right = 0;
page.PaperSize = System.Drawing.Printing.PaperKind.A3;;
page.UnlimitedHeight = false;
page.CanBreak = false;
}
var image = report.GetComponentByName("Image1") as StiImage;
image.CanBreak = true;
If you want to create one page for each record you can insert Panel in each page.
Instead of creating one page for each record you can create one page template and use this and pass your list to report.
For break page after each record(Person) you can use GroupHeaderBand and GroupFooterBand.
These two bands will show for each record and page breaks after each GroupFooterBand.