Author |
Topic  |
|
kowal
 
Poland
42 Posts |
Posted - May 14 2023 : 16:34:53
|
I'd like to resize imageEnView object using mouse interaction like the interaction for rotate operation (MouseInteractGeneral miRotateTool). How can I do it? S. Kowalski
|
|
xequte
    
39108 Posts |
|
kowal
 
Poland
42 Posts |
Posted - May 15 2023 : 08:23:22
|
thanks for the advice. In my project the MouseInteractLayers=[mlResizeLayers] works ok, but MouseInteractLayers=[mlRotateLayers] doesn't. So when I need to rotate the bitmap I use MouseInteractGeneral miRotateTool and it is ok. I have one more question. How can I get in my Delphi code the Angle I have rotated the image? I want to write this angle in the database. |
 |
|
kowal
 
Poland
42 Posts |
Posted - May 15 2023 : 13:46:12
|
sorry for asking - I've found it in demo project it is .RotateTool.Rotation thanks |
 |
|
xequte
    
39108 Posts |
Posted - May 15 2023 : 22:40:11
|
Hi
Yes, that is the one.
Nigel Xequte Software www.imageen.com
|
 |
|
kowal
 
Poland
42 Posts |
Posted - May 16 2023 : 04:44:28
|
Hi but it's not so easy with Resize This is what I want do do: I try to resize (and rotate) TBitmap using ImageEnView component. The source and resulting object for me is TBitmap it looks like this
imageen.Bitmap.Assign(myBitmap); ... changes size, angle in imageen.view ... myBitmap.Assign(imageen.Bitmap)
myBitmap has the imageen rotation angle. but it has not the resized height and width
S.Kowalski
|
 |
|
xequte
    
39108 Posts |
|
|
Topic  |
|