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
350
Export to PDF, XPS with charts.
posted

 Hi all,

I have a application that includes export to PDF, XPS format. I complete the codes to export Text, Images,... but I don't know the way to export a PDF or XPS with Charts. Sad. And my application's users being able to create report templates? Are there other Infragistics classes that would be useful?

Please help me! I want the sample codes

Thanks! 

Parents
  • 4960
    posted

    To export the WebChart to PDF or XPS, you must add a Canvas to a Section of your Report, and use its CreateGraphics method to create a Graphics context object, then you pass this Graphics context object to the RenderPdfFriendlyGraphics method on the WebChart which will render the WebChart onto it with the dimensions (height, width) you specify.

Reply Children
No Data