ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Detect change of TImageEnView.IEBitmap dimensions?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

935 Posts

Posted - Nov 03 2022 :  18:10:28  Show Profile  Reply
In TImageEnView, is there an event handler to detect explicitly a change of the dimensions of the TImageEnView.IEBitmap? I.e., whenever TImageEnView.IEBitmap_Width or TImageEnView.IEBitmap_Height changes, then this event is triggered.

xequte

38686 Posts

Posted - Nov 03 2022 :  22:48:02  Show Profile  Reply
Hi Peter

No, but if it is caused by a TImageEnProc operation then OnImageChange will occur.

https://www.imageen.com/help/TImageEnView.OnImageChange.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

935 Posts

Posted - Nov 04 2022 :  02:28:54  Show Profile  Reply
Hi Nigel

Thank you for the information. However, a change in the image dimensions could have different causes, not only a TImageEnProc operation. It would be most helpful to be able to react to image dimension changes. Could you implement this vital information event?
Go to Top of Page

xequte

38686 Posts

Posted - Nov 06 2022 :  18:54:04  Show Profile  Reply
Hi Peter

You can assign the TImageEnView.IEBitmap.OnChanged event if you need to capture that:

https://www.imageen.com/help/IEBitmap.OnChanged.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: