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
 miselectmagicwand
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jcodez

4 Posts

Posted - Nov 21 2011 :  09:36:57  Show Profile  Reply
I am trying to use an imageenvect and do a selection of part of the image using the miselectmagicwand, meaning I would like to use the mouse to draw around what I want to select and copy to another image control. Is there any demo code where they are using the miselectmagicwand? Thanks in advance.

w2m

USA
1990 Posts

Posted - Nov 21 2011 :  10:04:18  Show Profile  Reply
You may want to try miSelectLasso to draw the selection. miSelectMagicwand does not allow drawing the selection with the mouse.
This works for ImageENView so it should work for ImageENVect as well:

ImageEnView1.CopySelectionToBitmap( ImageEnView2.Bitmap );
ImageEnView2.Update;


William Miller
Go to Top of Page

jcodez

4 Posts

Posted - Nov 21 2011 :  10:12:55  Show Profile  Reply
Works perfect. Thanks for your help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: