hi,
I have created a barchart as a gif image in a web application
it works fine but when trying to save it by passing file path in
objBitmap.save("C:\Inetpub\wwwroot\graph.gif", ImageFormat.gif)
an error is shown as,
A generic error occurred in GDI+.
Source Error:
Line 148: objGraphics.DrawString(strTitle, fontTitle, objBrush, _
Line 149: (iMaxWidth / 2) - strTitle.Length * 6, iMaxHeight + LegendSpace)
Line 150: objBitmap.Save("C:\inetpub\wwwroot\graph.gif", ImageFormat.Gif)
Line 151:
so, that statement when modified as
objBitmap.save(response.outputstream, ImageFormat.gif)
now a bargraph is shown..
but i cant print it or else save it.
pls help me.
regs
Kalyani