Resize container to accommodate an image size
Posted on 2014-02-11
Im using SSRS 2008R2 and I need to replace a rectangular logo in the header of the report (image is stored in a table in the database) for a new square logo with different dimensions.
This image is likely to change over time again and I'd like to get a dinamic way of adjusting the space to fit as close as possible to the size of the image to waste as little paper as possible.
The width is not much of an issue but the lenght is. I've try to put it inside a rectangle, but when the logo is a bit longer than the current one the rectangle doesn't grow and cuts the image halfway through.
I always work with an image specifically designed (and sized) to use in reports and letters so I've set the size of the image to 'original size'.