SVG Images in a Report

edited 3:00PM in FastReport VCL
Hello,

Is it possible to use (and keep when exporting to PDF, for instance) SVG vector images on a report? I can insert them in a Picture object, but I think that they are handled like bitmaps, not vectors.

This is with FR 6.0.8. I don't see any relevant changes in the changelog in 6.0.9 for this.

Thanks!

Comments

  • gpigpi
    edited 3:00PM
    Sorry, but FR 6 doesn't have such feature
  • edited 3:00PM
    gpi wrote: »
    Sorry, but FR 6 doesn't have such feature

    Ok.

    Now, I am seeing actually a problem when trying to load a SVG image at runtime.

    I load the images into a TcxImageCollection, from DevExpress. That generates a TcxImageCollectionItem that includes a TPicture object. Later I assign that to the TfrxPictureView, like this:

    <!--fonto:Lucida Console--><span style="font-family:Lucida Console"><!--/fonto-->frx_picture_view->Picture->Assign(cx_image_collection_item->Picture);<!--fontc--></span><!--/fontc-->

    This works fine for most images (jpg, png, and so on. All of them create a TdxSmartImage) but not SVG images, even when I can load the SVG at designtime without issues. When doing this at runtime then there is no picture displayed.

    Is something needed for this to work?

Leave a Comment