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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Change the image canvas by dragging handles?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Sep 10 2017 : 09:59:06
Hello!

I would like my image to display handles on its edges, for example:



Then when I drag on one of these handles, the CANVAS (not the image) is resized accordingly.

Is this possible?

2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 10 2017 : 19:28:08
Hi Peter

It is not obvious, but Layer 0 can actually made selectable:

  // Make background layer selectable and sizeable
  ImageEnView1.Layers[0].VisibleBox := True;
  ImageEnView1.Layers[0].Selectable := True;
  ImageEnView1.Layers[0].Locked     := False;
  ImageEnView1.Update();


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Sep 10 2017 : 11:08:13
Yes. Add a layer - layer 1 and load the image into the layer. I think it's difficult to do with layer 0. Handles will be on the layer border so the layer can be adjusted.

See my post here: https://www.imageen.com/ieforum/topic.asp?whichpage=0.55&TOPIC_ID=1025#11740

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development