Image not rendered correctly in webviewer

Posted by: bram_neirinck on 6 May 2019, 6:01 pm EST

    • Post Options:
    • Link

    Posted 6 May 2019, 6:01 pm EST - Updated 30 September 2022, 8:43 am EST

    Hi,

    I’m using the webviewer (GrapeCity.ActiveReports.Viewer.Html) to display a sample of the report I’ve created.

    But what I notice is that the image that is on the label isn’t rendered correctly. Instead of a kind of triangle it’s shown as a rectangle. (See attached).

    If I export the label to pdf then the image is correct.

    I’m using version 11.3.13058.0 of ActiveReports.

    This is the code to send the report to the viewer

    
     rpt.Run();
    
                rpt.Document.Save(ms, GrapeCity.ActiveReports.Document.Section.RdfFormat.ARNet);
                ms.Position = 0;
    
    

    Is there something I can do to fix this?

  • Posted 7 May 2019, 6:05 pm EST

    Hello,

    Could you please share the report with us. If not, could you please which report type are you using and which control are you using to display image. Also, please share the image with us,

    Thanks.

  • Posted 13 May 2019, 5:17 pm EST - Updated 30 September 2022, 8:43 am EST

    Hi,

    I’m using the section report and i’m displaying the image in a picture control.

    I’ve also added the code files for the report.

    report.zip

  • Posted 13 May 2019, 8:00 pm EST

    Hello,

    I am able to reproduce the issue with AR11. However, I am not able to reproduce the issue in AR12 and AR13. Also, AR11 is out of maintenance mode now and there is no bug fixing will be done in AR11. Hence, I would recommend you to upgrade to the latest version i.e AR13.

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels