Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Export UltraChart & UltraGrid to a PDF
posted

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

Parents
  • 10880
    posted

    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());

Reply Children