Skip to Content
avatar image
Former Member

How to make a blob field grow to the left or align right

On a report we want to put a logo in the top right corner. Depending on the type of report the logo changes. The bitmap for this is dynamically retrieved from our database, scaled and put into a blob field on the report. This blob is set to grow automatically to fit wider logos. So far so good.

However: we would like to align the blob to the right of the report, but the options for alignment below the grow option is greyed out. This results in reports with a lot of white space to the right of the logo for less wide bitmaps.

Is there a way to align the blob field to the right of the report or make it grow to the left so that the white space for less wide logos falls to the left? Using CR for VS version 13.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 24, 2017 at 02:01 PM

    Thank you for the answers. I have solved it in code before sending the logo to the report. Resized the image while retaining the correct proportions and then expanded the picture canvas to the left with a white background to have it appear like it is aligned to the right.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 20, 2017 at 01:03 AM

    You can use the X property to shift the image horizontally. See image here.
    If you need to dynamically return the width or height of an image, at least one of the 3rd-party UFLs listed here provides such a function.

    Add comment
    10|10000 characters needed characters exceeded