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
 Paste from clipboard & floating selection possible

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
harry stahl Posted - Jul 15 2016 : 12:53:02
Is it possible to insert an image from clipboard not directly into the ImageEnView-Image? So that I can move the floation selection with the Image in it to the position whre I want to insert it?

I'll suppose that I have to work with layers to reach that (so create a new layer and insert the Image from clipboard into the new layer)? Or is there perhaps a build in layer to do some think like that?

An similar question: Can I select an area of the Image in ImageEnView and move this part to an other position? Or is it here also necessary to work with layers?

HS
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 18 2016 : 20:32:49
Also, if you are happy to use layers, you can just use:

ImageEnView1.LayersCreateFromClipboard();

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
harry stahl Posted - Jul 15 2016 : 13:43:15
OK, thank you, that's a way that works for me.

HS
w2m Posted - Jul 15 2016 : 13:01:48


 
 Is it possible to insert an image from clipboard not directly into the ImageEnView-Image? So that I can move the flotation selection with the Image in it to the position where I want to insert it?


No not with selections, unless you undo the paste, move or resize the selection, then paste again.

 

I'll suppose that I have to work with layers to reach that (so create a new layer and insert the Image from clipboard into the new layer)? Or is there perhaps a build in layer to do some think like that?


Yes, layers would be the best way to do this.

 

A similar question: Can I select an area of the Image in ImageEnView and move this part to an other position? Or is it here also necessary to work with layers?


No you can not move the selection and the selection's bitmap. Layers would be the best way to achieve this. I suggest using LayersCreateFromSelection for this.

// select an ellipse
ImageEnView1.SelectEllipse(150, 150, 50, 50);
// copy selected area and create a new layer
ImageEnView1.LayersCreateFromSelection;
// move the new layer
ImageEnView1.CurrentLayer.PosX := 100;
ImageEnView1.CurrentLayer.PosY := 100;
// paste to the background - OPTIONAL
ImageEnView1.LayersMerge(0, 1); 
ImageEnView1.Deselect.

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