TeeChart copy to clipboard does not retain transparency

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BlueMonkey
Newbie
Newbie
Posts: 34
Joined: Tue Nov 04, 2008 12:00 am

TeeChart copy to clipboard does not retain transparency

Post by BlueMonkey » Sat Nov 22, 2008 1:13 am

When using the CopyToClipboardBitmap to capture an area chart containing series that have non-zero transparency attributes, the area series are all opaque in the captured image.

max
Newbie
Newbie
Posts: 4
Joined: Tue Jun 26, 2007 12:00 am
Location: germany
Contact:

try to switch off double buffering

Post by max » Wed Nov 26, 2008 12:11 pm

Try using this:

Code: Select all

procedure Tform1.OnTeeCommanderCopy(Sender: TObject);
begin
  Chart1.BufferedDisplay := False;
  Chart1.CopyToClipboardBitmap;
  Chart1.BufferedDisplay := True;
end;

Post Reply