Jump to content
Software FX Community

Save bitmap in memory?


User (Legacy)

Recommended Posts

Posted

Hi,

I built a C# dll using chartFx. This dll create a chart.

Is it possible to save this chart into a buffered bitmap or something like

that. All the process have to be done in memory, I don't want any drive

access.

I need to be able to redraw the chart without chartfx, this is why I want a

bitmap in memory like CBitmap and HBitmap in C++. The returned format needs

to be understand by C++ so...

I know this is a strange problem...

Thanks

Simon

post-2107-13922380952641_thumb.jpg

Posted

You can call:

chart.Export(FileFormat.Bitmap,stream);

This will save a bitmap into a stream.

You can also use:

chart.Paint(graphics, ...)

This will paint the chart into a graphics, which can be a bitmap

(Graphics.FromImage method).

--

Francisco Padron

www.chartfx.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...