Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to export an QlikSense objects such as Charts to images programmatically. I'm using QlikSense .NET SDK with my C# code.
I'm able to retrieve the objects in the sheet. But how can I convert the object to image? I am thinking to turn this object to bytes first, then .NET should be able to turn the bytes to images. However, I am stuck on converting objects into bytes. Any suggestions on this would be really appreciated.
Thanks,
Xiaoyi
Our own Printing services uses Magick.NET - Home which is a .Net wrapper around ImageMagick.
So instantiate a webcontrol, render the chart and capture the area using Magick.NET
Our charts are quite complex so not everything is drawn on canvas, headers for example is just normal dom nodes.
So it's probably going to be easier to "screenshot" the contents in the webcontrol then trying to do a byte conversion
Thanks for your suggestion, I will try it out.
did you have success?
i initialize a WebBrowser control, to render the html, and then to generate the bitmap... but, i have problem with autorization, because the webbrowser is not in the same context... when you said "webcontrol", do you refer to a asp.net webcontrol?
did you find any solution?