TeeCreateMetafile and v.2010
Posted: Tue Oct 05, 2010 9:54 am
Hello,
I use v.2010 with Delphi XE. I noticed that when TTeeGDIPlus component is assigned to chart (having the Active property set to true) the TeeCreateMetafile gives a result that I do not like. Setting the TTeeGDIPlus.Active to false gives me the metafile I got with earlier versions of TeeChart and this is ok. My problem is that I have lots of TChart components on my app and I use the following code:
var charts: array[0..100] of TChart
begin
for i := 0 to high(charts) do
charts.Canvas := TGDIPlusCanvas.Create;
end;
...what code should I use analog to TTeeGDIPlus.Active? Using (TChart.Canvas as TGDIPLusCanvas).AntiAlias := false does not do the trick (I mean the metafile is still ugly).
Regards
I use v.2010 with Delphi XE. I noticed that when TTeeGDIPlus component is assigned to chart (having the Active property set to true) the TeeCreateMetafile gives a result that I do not like. Setting the TTeeGDIPlus.Active to false gives me the metafile I got with earlier versions of TeeChart and this is ok. My problem is that I have lots of TChart components on my app and I use the following code:
Code: Select all
begin
for i := 0 to high(charts) do
charts.Canvas := TGDIPlusCanvas.Create;
end;
...what code should I use analog to TTeeGDIPlus.Active? Using (TChart.Canvas as TGDIPLusCanvas).AntiAlias := false does not do the trick (I mean the metafile is still ugly).
Regards