Page 1 of 1

TeeCreateBitmap with transparent color

Posted: Mon Jun 23, 2014 2:07 pm
by 16468279
Hi,

with TeeCreateBitmap, how to create a bitmap with transparent background?

Re: TeeCreateBitmap with transparent color

Posted: Mon Jun 23, 2014 2:45 pm
by narcis
Hello,

You can do something similar to the example Yeray posted here. That is also being explained in this article I wrote. Does this help you achieve what you expected?

Re: TeeCreateBitmap with transparent color

Posted: Mon Jun 23, 2014 3:24 pm
by 16468279
I tried Chart1.draw, it works in the VCL but under Intraweb i have an exception:
'Le contrôle 'Control1' n'a pas de fenêtre parente'
I don't have this problem with TeeCreateBitmap, but I don't have the transparent background...

Re: TeeCreateBitmap with transparent color

Posted: Wed Jun 25, 2014 6:39 am
by 16468279
Hello,

would it possible to have background transparancy with TeeCreateBitmap?
If not, is there a problem with the function draw when we you use it in intraweb? Can it be solve?

Re: TeeCreateBitmap with transparent color

Posted: Wed Jun 25, 2014 10:36 am
by 16468279
Hello,
The function Draw of the chart have problem only in GDI+.
So I have transparency now but only if I put this: Chart1.Canvas:=TTeeCanvas3D.Create.

Re: TeeCreateBitmap with transparent color

Posted: Thu Jun 26, 2014 8:15 am
by yeray
Hello,
mivtee wrote:I tried Chart1.draw, it works in the VCL but under Intraweb i have an exception:
'Le contrôle 'Control1' n'a pas de fenêtre parente'
I'm not sure about what TeeChart version are you using.
Note the "Control has no parent window" error in TeeChart for Intraweb and similars was fixed with the update for TeeChart Lite for RAD Studio XE5, as you can read here.
Are you using a TeeChart version published later to the 1st Feb 2014?

Re: TeeCreateBitmap with transparent color

Posted: Thu Jun 26, 2014 10:04 am
by 16468279
Hello,

I use the last release 2014.11.140512, and I'm waiting for next release that correct some other problems.

Re: TeeCreateBitmap with transparent color

Posted: Thu Jun 26, 2014 1:17 pm
by yeray
Hello,

And have you tried with:

Code: Select all

aChart.BufferedDisplay:=False;
As suggested here?