Hello
we have a separate control for creating charts and these chart can be created as a binary representation of an image
chart.ExportAsBinary |
is there a way to add pictures to the picture collection as binary.
any help is very much appreciated
Hello
we have a separate control for creating charts and these chart can be created as a binary representation of an image
chart.ExportAsBinary |
Dear James,
What you mean binary? I think byte array. In what format?
Is it possible to use memory stream?
byte[] b = chart.ExportAsBinary();
MemoryStream ms = new MemoryStream(b);
Image img = new Bitmap(ms);
pres.Pictures.Add(new Picture(pres, img));
Thank You
It worked perfectly.