Reports with images from TList<sth>


I do my reports mostly with TObjectList<...> based data instead of datasets. Now I want to add Images to a report. Do you have a quick hint about how I should supply my Images in the data objects?

I could supply streams, filenames, etc. but I don't know what is expected. In the Demos and Docs I can find examples with Api or reports from datasets but not with reports from Lists with images.

Is that possible or should I better fill a clientdataset with image blobs? I would like to avoid that if its somehow possible to do it with TList provided data...

Thanks and Merry XMas



Yes, that is possible. Just supply a ByteArray with the data of the images in the bytes. FlexCel will figure out the type of the image and insert it.


Great, thanks so much !!!