Image scaling to fit width
Posted: Fri Jan 24, 2020 10:58 am
I would like to have an image in a databand (loaded from the data source) which is always scaled to fit the whole width of the databand and to grow/shrink vertically to keep the original aspect ratio.
The image is set to "Stretch=True" and "Aspect Ratio=True". Image and databand are set to CanGrow/CanShrink=True. What happens is, that as soon as I set CanGrow=True, the image grows beyond (!) the databand width and also results in new pages beeing created.
I've attached a simple example.
Is this a bug, am I doing something wrong or is this simply not possible at all?
The image is set to "Stretch=True" and "Aspect Ratio=True". Image and databand are set to CanGrow/CanShrink=True. What happens is, that as soon as I set CanGrow=True, the image grows beyond (!) the databand width and also results in new pages beeing created.
I've attached a simple example.
Is this a bug, am I doing something wrong or is this simply not possible at all?