Hi,
I'm trying to save the ultra winchart with 300DPI like so:
('fs' above is a file stream) But, when I read the same image back (thru code), it shows the DPI as 96. How can I save the chart in 300DPI?
(BTW, how do I insert an image from a folder in this post? Clicking the above image icon asks for an URL)
Thanks
I guess you need to update with the latest hotfixes (or version).
Please let me know about the hot fixes that I should be having to get the chart working.
I'm trying:
{
FileStream fs = File.Create(fileName);
fs.Close();
}
and
and the both images are with the correct size and DPI. I'm not sure why your images are not correct. Do you have the latest hotfixes?
The problem is with the DPI of the image. Even though I'm saving at 300DPI in GIF, when I read it back, it becomes 96DPI (I made sure that it is actually of 96DPI & just not shown as such in .Net). As suggested, I tried saving it in PNG with the same DPI. But PNG image shrinks in size so much that, it becomes totally unreadable. If try to increase the size, the plot area size increases but annotations, X & Y axes labels, etc. remain at a very small size which are again unreadable. (You can please refer to the images in previous mails)
So, the requirement is to save the chart in 300DPI as either GIF or PNG (but not JPG) & read it back at the same DPI with same dimensions as was saved (usually dimensions will be 250 x 300).
Thanks.
You can use:
this.ultraChart1.Axis.X.Extent = 50;
to control the space.
About you other problem, I've been saving in JPG and PNG and there are the same. Could you give me more info about the problem?