I am using Stimulsoft.Base.dll and Stimulsoft.Report.dll (version 2012.2.1400.0) together with c# to dynamically generate pdfs containing 1 or more tables. In the attached example you can see a table which contains a lot of icons which are mostly just of two different types (here: green ticks and red hyphens) and are displayed many times. The image for each icon cell in the table is assigned using the event:
Code: Select all
cell.GetImageData += this.TableCell__GetImage;
Code: Select all
using (var ms = new MemoryStream(imageArray))
e.Value = Image.FromStream(ms);
By the way, I tried using the following:
Code: Select all
StiOptions.Engine.ImageCache.Enabled = true;
StiOptions.Engine.ImageCache.CachePath = "image.cache";
Finally, I tried
Code: Select all
myReport.ReportCacheMode = StiReportCacheMode.Auto;
Thanks and regards,
John Kitching