locked
How to save the Chart as image in custom rendering extension? RRS feed

  • Question

  • Currently, we are coding to implement a custom rendering extension.

    In RS2005, we know that the Chart class provide an method 'getImage(Imagetype type)' to help programmer to get the whole chart data as image, but RS2008 does NOT provide the API.

    Could you please tell us how to get all of the chart data as Image type?


    Thanks!


    shawn
    Tuesday, March 10, 2009 2:57 PM

Answers

  • The Microsoft.ReportingServices.OnDemandReportRendering.ChartInstance class has a method  

    public override System.IO.Stream GetImage(ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps)

    • Proposed as answer by Sean Boon Tuesday, March 10, 2009 9:01 PM
    • Marked as answer by shawn.yi Thursday, March 12, 2009 3:48 PM
    Tuesday, March 10, 2009 7:53 PM
    Answerer

All replies

  • The Microsoft.ReportingServices.OnDemandReportRendering.ChartInstance class has a method  

    public override System.IO.Stream GetImage(ImageType type, out ActionInfoWithDynamicImageMapCollection actionImageMaps)

    • Proposed as answer by Sean Boon Tuesday, March 10, 2009 9:01 PM
    • Marked as answer by shawn.yi Thursday, March 12, 2009 3:48 PM
    Tuesday, March 10, 2009 7:53 PM
    Answerer
  •  Thanks a lot.

    According to your guide, I have resolved it.
    shawn
    Thursday, March 12, 2009 3:47 PM