How to print several TeeCharts in a piece of paper?Help me!
Posted: Fri Jun 24, 2011 9:03 am
Hi,dear geeks,can you help me?
First, I'm come from chinese,so English just so so.
Second, I use Microsoft Visual C++. I just want code which achieve : print two or more TeeCharts in one piece of paper!
I have writed some code, i define two TeeChart objects,like this:
CTChart m_tchartF,m_tchartS; //in a Diolg
.....
DDX_Control(pDX, IDC_TCHART1, m_tchartF);
DDX_Control(pDX, IDC_TCHART2, m_tchartS);
....(initialise these TeeChart,add some data)
m_tchartF.GetPrinter().PrintChart(); //i just know use this to print, but this only print a TeeChart in a piece
m_tchartS.GetPrinter().PrintChart(); //what's the code which could print two Charts in one piece ?
last
geeks,I deputy earthman dedicated to You !
Regards
First, I'm come from chinese,so English just so so.
Second, I use Microsoft Visual C++. I just want code which achieve : print two or more TeeCharts in one piece of paper!
I have writed some code, i define two TeeChart objects,like this:
CTChart m_tchartF,m_tchartS; //in a Diolg
.....
DDX_Control(pDX, IDC_TCHART1, m_tchartF);
DDX_Control(pDX, IDC_TCHART2, m_tchartS);
....(initialise these TeeChart,add some data)
m_tchartF.GetPrinter().PrintChart(); //i just know use this to print, but this only print a TeeChart in a piece
m_tchartS.GetPrinter().PrintChart(); //what's the code which could print two Charts in one piece ?
last
geeks,I deputy earthman dedicated to You !
Regards