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

Multiple picture support on the same report?

edited August 2001 in General
Is there a way to print different type of image on the same report?
I have images store in the database in JPEG, BMP, TIFF, etc...
Is reportbuilder able to print it automatically or do I have to code it and
how would I do it.

Comments

  • edited August 2001
    The TppDBImage component supports Bitmap, JPEG, windows metafile, and icon
    types out of the box.

    You can set the GraphicType property of the DBImage in the
    DetailBand.BeforePrint event if you have different types of images stored in
    the image field of your table.

    All other image formats will have to be converted to these formats to use
    TppImage. We also have support to use GIF in the TppImage componen, but not
    in the TppDBImage component. You will have to create an instance of a
    GIFImage and load the GIF into a non-data aware TppImage at runtime.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2001
    I was hoping for the automatic way instead of setting it manually :(
    I guess I will have to create another field to identify the image type in
    the table.
    Thanks.

This discussion has been closed.