Posted 22 January 2020, 2:23 am EST
Hi,
I’m trying to populate a report from list which contains images. First i tried to pass the Bitmap images:
var files = ImgList.Select(x => new { Id = x.Id, Img = System.Drawing.Image.FromFile(Path) }).ToList();
but the images were just empty. then i tried to set the field for every record:
Img = (ImageField)(report.Fields["Field6"]);
Img.Picture = System.Drawing.Image.FromFile(path);
here the last image keeps repeating for every record.
Can you show me how it’s done?
Thanks