This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at https://www.izenda.com/docs/
Allows customization of the process for loading report thumbnails
static Dictionary<string, byte[]> thumbnails = new Dictionary<string, byte[]>(); public override bool ThumbnailExists(ReportInfo reportInfo) { return thumbnails.ContainsKey((reportInfo.Category ?? "") + "#" + (reportInfo.Name ?? "")); } public override byte[] LoadThumbnail(ReportInfo reportInfo) { if (thumbnails.ContainsKey((reportInfo.Category ?? "") + "#" + (reportInfo.Name ?? ""))) return thumbnails[(reportInfo.Category ?? "") + "#" + (reportInfo.Name ?? "")]; return new byte[0]; }
Last edited by Marcus Hodges, 2016-02-04 13:17:41