Hi, While going through the examples and sample and the forums, I could not come across any example that describes PDF export of Chart & Grid together from a FORM.
I can individually export the Chart & Grids but looks like there is something else I am missing when I club both of them together.
Thx
Thanks Sung Kim for your great works. I've learned a lot from your following article as well.
http://blogs.infragistics.com/blogs/sung_kim/archive/2009/02/18/publishing-dynamic-files-pdf-xps-creation-using-the-infragistics-document-library.aspx
I got some help from the above link, but I also has similar needs like the topic here as well. The thing is I need to Export BOTH UltraChart & UltraGrid to the same PDF page. That means the same section I believe. And I also need to add some text above the chart at the top. And lastly, I need to add the header & footer for that page - ALL these within the same page or section. Thanks.
The code above will create a report object, create a section within that report, and then export the contents of the grid to that section. Afterwards, we do the same for the chart and export it to another section in the same report when we call the RenderPdfFriendlyGraphics method. If you are trying to accomplish something different could you be more specific?
Hi,
Can you provide an extended example for the above.
I am using the said example above, but I cant find a method to add the grid and Chart into a single report.
You have to create a report object first and then export to specific sections of that report.
Report r = new Report();
ISection gridsection = r.AddSection();
this.UltraWebGridDocumentExporter1.Export(this.UltraWebGrid1, gridsection);
this.UltraChart1.RenderPdfFriendlyGraphics(r.AddSection().AddCanvas().CreateGraphics());