I have a question: I need to supply custom bitmaps for the TImageEnMView control. Is there a way to find out exact Width and Height of the bitmap within the dimensions of the thumbnail, taking into the account border and style settings, to avoid stretching/distortion of the bitmap. I am using OnImageIDRequest event and it would be convenient to have pre-calculated Width and Height as incoming parameters to the event, so that bitmap can be created with exact measurements and displayed as is by the control.
Thanks,
Eugene |