Creating page image from flexreport using GetImage not working

Posted by: paul on 9 May 2018, 11:07 am EST

    • Post Options:
    • Link

    Posted 9 May 2018, 11:07 am EST - Updated 4 October 2022, 2:41 am EST

    Hi,

    I am using GetPageImage() in flexreports in order to merge multiple reports however the image created is wrong. All the text is squashed on top of itself (see attachment). Can you let me know how I can solve this?

    Thanks

    Paul

  • Posted 10 May 2018, 1:33 am EST

    Hello Paul,

    We cannot observe the issue at our end with the attached sample.

    Can you please share the report with which you face the issue? Also, share your system environment details along with the ComponentOne version used at your end.

    Thanks,

    Esha

    MergeFlexReport.zip

  • Posted 10 May 2018, 4:06 am EST

    Hi Esha,

    I have attached a zip file containing the flxr file used along with the vb code to merge. I am trying to merge multiple copies of the same report into a new merged report.

    If I run the attached flxr report as in individual report then it displays correctly. When attempting to merge I have exported the page images as png files and these are as the original attachment.

    I am using ComponentOne Version 4.0.20173.286 on Windows 10 build 16299.

    Regards,

    Paul

    MergeReportsIssue.zip

  • Posted 14 May 2018, 1:59 am EST

    Hello Paul,

    Thanks for sharing the report and details. We tried using the report in the attached sample and observed some disrupted behavior (see “ReportView.png”). However, the squashed behavior could not be exactly replicated due to the absence of the data. Thus, we request you to share dummy data related to the report so that we can observe the exact issue and escalate it to the concerned team, if the need arises.

    Also, we would request you to test your application with the latest 18v1 builds and share the observations.

    Best Regards,

    Esha

    prj_MergeReports.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-db95f839-8073-48f7-b580-719a022eccfb.png[/img]

Need extra support?

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

Learn More

Forum Channels