Posted 17 June 2018, 6:31 pm EST
We have a proprietary custom report item implementation which renders a special chart based on our in-house charting technology. Similar to your Postnet/Treeview sample library we have a rendering class implementing IGraphicsRenderer and IImageRenderer, supplying the individual chart bitmaps.
It works fine for us so far, but near-future requirements call for dozens or hundreds of such charts in a single report where we quickly run into memory and performance issues (especially on x86) since we’re constantly creating and disposing large bitmaps. Additionally, scaling into the preview or into generated PDFs is only limited to the DPI we used for the bitmaps, while increasing the DPI only worsens the memory and performance problem.
To solve these issues, we’re planning to have our proprietary chart library export vector graphics, likely SVG format. How do I transfer the SVG through the custom report item implementation interfaces to ActiveReports so that the PDF will contain vector-based charts?
I could not find information on this in either the document or the Postnet/TreeView example. I only found a forum entry (https://www.grapecity.com/en/forums/ar-dev/emf-vector-graphics-export) which only talks about including vector graphics files (emf/wmf) on disk.