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
 iesoCutBorders does not work for me
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

935 Posts

Posted - Oct 31 2022 :  12:53:59  Show Profile  Reply
The Documentation says: "iesoCutBorders: The user is allowed to drag the selection outside the borders (the selection borders will be cut)".

However, even when I add iesoCutBorders to ImageEnView1.SelectionOptions both at design-time and at run-time, the selection cannot be dragged or drawn outside the image boundaries!

Is iesoCutBorders incompatible with some other settings?

BTW, there seems to be a contradiction in the definition: How can the selection be dragged outside the image borders if the selection is cut at the edges?

xequte

38694 Posts

Posted - Oct 31 2022 :  20:02:12  Show Profile  Reply
Hi Peter

Selections can never be made outside the image area. iesoCutBorders specifies what happens when the user tries to drag beyond the image edge. If iesoCutBorders is not specified, the selection cannot be dragged beyond the edge. If specified, the selection is cropped at the image edge.

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

PeterPanino

935 Posts

Posted - Nov 01 2022 :  05:14:19  Show Profile  Reply
My intention was to make a selection larger than the image boundaries and then resize the image canvas to the selection's size - which would be a visual method to resize the image canvas. But since that is not possible, I will do it with a transparent borderless rectangle shape layer (since layers can be dragged outside of the image boundaries) - a kind of fake selection.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: