If have a questionaire report where some of the answers contain an
uploaded image and have some trouble showing them correctly in a
report. Images are stored in the database and bound to a picturebox.
When there is an image I would like to snow it beneath the text, it should not grow beyond the paper width. When there is no image I would to show just text (no white placeholder for the image).
The images can be large sometimes so setting Sizing of the Picturebox to AutoSize does not work for me (it would clip the image in pdf export)
-Sizing AutoSize is nice, hides when there is no image, but it can grow beyond report width when images are large
-ScaleProportional scales ok, but it does not align to the left and occupies white space when there is no image (even when the picturebox is set to invisible via conditional formatting)
Is there workaround (eg AutoSize and change image dimensions in code behind just before binding?).
AutoSize with max dimensions would be a nice to have...
How to get this right, any clue appreciated