Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
Set Hight with of text area ?!
posted

Hello Guys ...

I've 12 Charts on one Page. Now i'll export these on PDF! But the DPI of the Charts are so bad, and ive to set it on my own .. works great! But... look at the picture .. my Problem are the Fonts of the Chart?!

 

Here is my Code:

 

chart.PreRender += new EventHandler((o, args) =>

{

FileStream fileStream = new FileStream(Server.MapPath("~/ChartImages/Chart_" + ((UltraChart)o).Attributes["index"] + "_druck.png"), FileMode.Create, FileAccess.ReadWrite);

((UltraChart)o).SaveTo(fileStream, System.Drawing.Imaging.ImageFormat.Png, new Size(1600, 1200), new SizeF(300,300));

fileStream.Close();

});

 

Question is now .. waht property should i set or change to make the area of the text inside the Chart bigger?!

Thanks for solutions...

Inoir