Hi,
I’m upgrading a report from version 2.5.20061.194
Mostly it’s going ok, but I have an issue with displaying an image.
With no changes to the report definition, the image is not displayed in the report anymore.
The code that loads the image field executes as expected, and looks like this:
if (_sub.Logo != null && _sub.Logo.Length > 1) {
/// Create a memory stream and create the image using the logo byte array
using (MemoryStream ms = new MemoryStream(_sub.Logo)) {
/// Set the image in the practice header
field.Subreport.Fields["Logo"].Picture = Image.FromStream(ms);
}
}
Any ideas what’s required to fix this?
Thanks
Martin