Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
PeterPanino
Posted - May 23 2013 : 08:28:51 Hi! Doesn't TImageEnView have something like TImage.AutoSize, which automatically fits the size of the ImageEnView1 component to the size of the contained image?
I hope that the TImageEnView.OnResize event is triggered ALWAYS when TImageEnView internally changes the size of the IEBitmap. An AutoSize property like in TImage would be better.
PeterPanino
Posted - May 23 2013 : 08:55:09 No. This resizes the contained image to the size of the ImageEnView1 component. I need something which automatically fits the size of the ImageEnView1 component to the size of the contained image. Just the same as TImage.AutoSize does.
klausdoege
Posted - May 23 2013 : 08:41:14 Hello, yes that gives it. Try imageenview.fit;