Page 1 of 1

Printing with Custom Canvas Objects

Posted: Wed Oct 17, 2007 5:16 am
by 8573707
Using TeeChart 6.1 with BCB6, I have a graph that I enhance by drawing additional information directly to the canvas. (Just simple stuff... boxes, labels etc)

My only problem is that if I try to call the TeeChart's Print() method it only prints the graph - none of my custom objects. Can someone please suggest how I might go about making TeeChart print everything on the canvas?

Posted: Wed Oct 17, 2007 8:56 am
by narcis
Hi Gerard,

You could exporting the chart to a MetaFile and use StretchDraw as shown in the example Pep posted here.

Hope this helps!

Posted: Thu Oct 18, 2007 3:33 am
by 8573707
Ah excellent, thank you! That helps a lot.