Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Images in dbRichText

Edit a text with Delphi RichEdit where I can paste png-images in to the text without problem.
But when printing to PDF with a dbRichText in my report the text is formatted correctly but the image will be in text format.
What am I doing wrong here?

Regards
Dag

Comments

  • Hi Dag,

    >> the image will be in text format.

    Does this mean that the raw image data is being shown as text rather than the image itself? Does the image display correctly when printing to the printer or preview?

    Delphi (and ReportBuilder) do not natively support embedded images in RichText. This requires a third party component such as Infopower. Which third party component are you current using?
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi,
    yes, the image is shown as text and I export the report directly to PDF.
    The Delphi component TRichEdit do support embedded images without problem. I have used it för several image format, png included, so I do not use any third party component for this in my Delphi 12.
    But obvioulsy dbRichText does not support embedded images.

    Regards
    Dag
  • Hi Dag,

    This is not an issue we have seen before. Which version of ReportBuilder and Delphi are you using? Please create a simple example using only RB and Delphi components and send it to support@digital-metaphors.com in .zip format.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.