Hello, i'm trying to Save a bitmap of chart, i use to export it to .bmp with
public void PrintChart()
{
m_TChart.Export.Image.Bitmap.Save("preprint.bmp");
}
I use direct2D as a Graphics. As a result i get only black rectangle. What am i doing wrong, and how can i get the chart bitmap in other way. I also tried to use Bitmap property of TeeChart directly, but the result is the same.
P.S. Generely i wanted to Print chart. I Trid to use Printer.Preview(), but there's a white sheet in a Print Preview dialog. Somethere on the forum i saw a topic about a problems with printing in case of using dierct2D, so may be it's related. Also i'm using the latest version of TeeChart.
Exporting to bitmap problems
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Exporting to bitmap problems
This is a known issue and progress on it can be read in bug ID356.Petr wrote:P.S. Generely i wanted to Print chart. I Trid to use Printer.Preview(), but there's a white sheet in a Print Preview dialog. Somethere on the forum i saw a topic about a problems with printing in case of using dierct2D, so may be it's related. Also i'm using the latest version of TeeChart.
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |