VG Render in an Active Report

Posted by: perry on 2 January 2018, 3:00 am EST

  • Posted 2 January 2018, 3:00 am EST

    Is there anyway possible to Render an SVG (Scalable Vector Graphic) inside a Active Report? After which the report is output to PDF.

  • Posted 2 January 2018, 3:04 am EST

    We collect customer signatures as SVG and would like to show their signature in an ActiveReport printed to PDF.

  • Posted 3 January 2018, 1:26 am EST

    Hello,

    Unfortunately, Active Reports has no support for SVG images in the layout. To use these images in your reports you should convert SVG files to one of the raster image formats (that is supported by ActiveReports).

    If you’re using code based Section report you can convert SVG to System.Drawing.Image type through code behind using of third party SVG library (http://svg.codeplex.com/releases/view/18884) and then use this value in PictureControlInstance.Image property assign the image.

    You should find useful the following link

    http://stackoverflow.com/questions/58910/converting-svg-to-png-using-c-sharp

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels