Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Unbound image

$
0
0

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


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>