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
 Prevent layer movement outside the image (IEVolution .NET 8.0.0)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Deeron

67 Posts

Posted - Oct 04 2021 :  09:13:56  Show Profile  Reply
Hi Nigel,

I would like to ask.

When I load an image into IEViewer and create a layer (image, text, etc.), I want to make sure that the layer cannot be moved out of the image, so that the edges of the layer collide with the edges of the image when moving. For this, in the annotations there is the AllowOutOfBitmapMoving property, for the layer I couldn't find it in the help or simply overlooked it. :(

My question is, is there a property that does this automatically for the layer?

Thanks for the answer.

Deeron

xequte

38196 Posts

Posted - Oct 04 2021 :  15:22:49  Show Profile  Reply
Hi Deeron

The closest option for layers is to (visually) crop them if they are moved outside the background layer:

https://www.imageen.com/ievolutionhelp/html/06354615-16aa-e25c-8bd0-237f3e6fe728.htm

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

Deeron

67 Posts

Posted - Oct 06 2021 :  08:25:09  Show Profile  Reply
Thanks, Nigel. It's a good starting point.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: