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
 Loading a TImageEnView from a TImageEnView

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
paulcoshott Posted - Sep 04 2013 : 03:00:35
Hi All,

I have a TImageEnView that is being used to modify an image, especially cropping. On this form I have a resize button that pops up a resize dialog that also contains a TImageEnView.

How can I load the modified image from the parent form into the resize dialog's TImageEnView?


Cheers,
Paul
3   L A T E S T    R E P L I E S    (Newest First)
paulcoshott Posted - Sep 04 2013 : 17:27:40
Thanks guys, the Assign worked perfectly.


Cheers,
Paul
w2m Posted - Sep 04 2013 : 09:02:05
You can also just assign a ImageEnView to another:
MySubDialog.ImageEnView1.Assign(ImageEnView1);
MySubDialog.ImageEnView1.Update;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
xequte Posted - Sep 04 2013 : 03:24:47
Hi Paul

You can use SetExternalBitmap for two ImageEnViews to have the same image:

http://www.imageen.com/help/TImageEnView.SetExternalBitmap.html

Or you can simply assign the bitmap (assumes ImageEnView1.LegacyBitmap=False):

MySubDialog.ImageEnView1.IEBitmap.assign(ImageEnView1.IEBitmap);
MySubDialog.ImageEnView1.Update;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com