CopyToClipboard

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
JayG
Newbie
Newbie
Posts: 71
Joined: Mon Sep 04, 2006 12:00 am

CopyToClipboard

Post by JayG » Fri Nov 30, 2007 8:22 pm

TeeChart V3.2.2868.26903
Visual Basic 2005 Express Edition

When I use the CopyToClipboard function in my code and then Paste into another application such as Paint or Excel, I get a blue rectangle that is the size of the chart. If I try to use the Export page in a ChartController Edit control, I get an "Object reference net set to an instance of an object" error.

Steps to reproduce:
Create new VB Application. Add TChart and ChartController objects. Set ChartController1.Chart to TChart1. Add a button with the following code:

Code: Select all

TChart1.Export.Image.JPEG.CopyToClipboard()
Run the program, click on the Edit button in the ChartController bar. Click on Export, choose as JPEG, click the Copy button. The error listed above appears. Run the program again, click the button you added, switch to Paint (or some other program), and Paste. A blue rectangle is pasted.

Jay

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 03, 2007 11:21 am

Hi Jay,

Thanks for the information. I've been able to reproduce the issues here using v3.2.2868.26903 but they have been fixed in our current sources so you can expect them being fixed in the next maintenance release due to be out very soon.

Please be aware at this forum or our RSS feed for new release announcements.

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply