CopyToClipboardBitmap() performance

TeeChart for ActiveX, COM and ASP
Post Reply
pdm1999
Newbie
Newbie
Posts: 5
Joined: Fri Jul 13, 2007 12:00 am

CopyToClipboardBitmap() performance

Post by pdm1999 » Wed Jul 18, 2007 1:42 pm

I am using the 7.0.1.4 ActiveX version in VC++. I am using several hidden TeeChart controls (one 2D, one 3D, etc.) to generate bitmap images which I can selectively BitBlt onto the screen at the desired location. I use the CopyToClipboardBitmap() function to have TeeChart generate the bitmap and copy it onto the clipboard which I then read back and BitBlt to the desired screen location.

The CopyToClipboardBitmap() call is taking over 1/2 second to execute for a chart that uses a SurfaceSeries containing 384 x 576 Z values.

Is there some alternative function that I can use that is faster or some way to make CopyToClipboardBitmap() faster?

Thanks

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Mon Jul 23, 2007 7:49 am

Hi pdm1999,

I can't think in a better solution than doing it manually for the moment. You should be able to export your chart as an image and then exporting it by yourself to the clipboard. But I'm not sure on how many time will you save.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply