Page 1 of 1

Convert Steema.TeeChart.Export.BitmapFormat to System.Drawi

Posted: Tue Apr 14, 2015 12:26 pm
by 15670445
Hi,

I'm using the code below to get a bitmap; however, for som other image processing I need to have the bitmap as a "System.Drawing.Image"

Is there a way to convert Steema.TeeChart.Export.BitmapFormat to System.Drawing.Image ??

Code: Select all

Steema.TeeChart.Export.BitmapFormat bitMap = tChart1.Export.Image.Bitmap;
bitMap.Height = tChart1.Height;
bitMap.Width = tChart1.Width;

Re: Convert Steema.TeeChart.Export.BitmapFormat to System.Drawi

Posted: Wed Apr 15, 2015 9:38 am
by Christopher
Hello!

It's probably easier to try something like this:

Code: Select all

Image image = tChart1.Bitmap;