Hello,
in Delphi 5 (TeeChart Version 5.02) I was able to print a chart
by making a bitmap first and then printing it:
Chart.Color:=clWhite;
Chart.BevelOuter:=bvNone;
R:=Chart.GetRectAngle;
MyBmp:=Chart.TeeCreateBitmap(Chart.Color,R);
PrintBitmap(MyBmp,x, y,w,h);
with PrintBitmap as:
...set aRect in Pixels...
Printer.Canvas.StretchDraw(aRect,aBitMap);
After migration to Delphi 2006 VCL.NET and TeeChart VCL 7.07
this printing method does not work.
(But it is still working for other bitmaps)
What is the reason?
Thanks and best regards,
Reinhard
Bitmap to print a TChart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Reinhard,
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Best Regards,
Narcís Calvet / 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 |