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

Printing images with RB

edited November 2004 in General
Is it possible to create dynamicale a report with only images ?

I would like to print about 2 to 20 pictures (every picture is on it own
page -> 2 to 20 pages)

Can i do it like :

*) Create a report with only one picture on it.
*) Set the report PageCount to 16 (Don'T know how i can do this ?)
*) On every Before page, load the new picture.

regards
snoopy

Comments

  • edited November 2004
    Hi Andreas,

    Where are your images stored? If they are stored in file, it would be
    possible to place 20 Section Style Subreports inside the detail band of your
    main report, placing a single image inside each of the subreports. This
    would give you a 20 page report, one image on each page. Then, before
    calling Report.Print, you could toggle the visibility of each subreport
    according to the images you would like to display.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2004
    The images are stored an disk.
    Hm, i just thought the other way :
    *) One report, one page, one image (loaded every page new from disk)
    *) Creating a JIT Datasource and filling this datasource with as many
    records as i have images (every record has one field with the name of the
    image)

    What do you think about this ?

  • edited November 2004
    Hi Andreas,

    Yes, I believe this will work as well. You could even take it a bit further
    and have your JITPipeline traverse the images in an ImageList and display
    them in the report that way.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.