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

Using DBImage (or just Image) --> How can I ....

edited October 2007 in General
Consider the following example. I use a DBImage with a constant width
(say 20 mm) en constant height (als say 20 mm).

How can I align the picture to the right-bottom of the DBImage when it's
dimensions are smaller that the DBImage? I could very well ask this
question for any alignment other then TopLeft and Centre because I only
have a 'Center'-property and the default alignment which seems to be
TopLeft.

When a picture is to big for the defined DBImage I can use Stretch and
MaintainAspectRatio. But then I have the same problem. The resized
picture has not always the same dimensions as the DBImage and requires
some alignment. TopLeft (the default) and Centre are not enough too
handle these situations. How can I make the other alignments?

How can I prevent a 'Stretch' of a image which is too small. I only want
images that are too big to be stretched?

Any suggestions,

TIA,

Ronald

Comments

  • edited October 2007
    Hi Ronald,

    Currently there is no alignment feature for images in ReportBuilder. One
    option would be to print the image as-is (AutoSize set to True) then move
    the entire image component on the page to the proper position based on it's
    size. Otherwise you would need to load the image elsewhere and determine
    the size before it is generated on the report.

    --
    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.