williamrojas78 11 Junior Poster

Hi

I am trying to create a report where i have to print a bar chart and a datagrid. So far i am able to print each one individually, but i don't know how to print them oth at the same time.


To generate and print the chart i used a library i found at
http://netcontrols.org/nplot/wiki/

To print the datagrid i used a class in the microsoft website at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/printwinforms.asp

My guess is that i have to create a printDocument and add the two objects to it, but i don't kow how to do this.

Am i going in the right direction? or is there any other way of doing it.

Thanks in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.