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
 selection

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
giancarlo Posted - Apr 19 2013 : 02:24:52
i have to place a simple selection by code to crop...

ImageEnView1.Deselect;
ImageEnView1.IO.LoadFromFile('C:\scan_0001.jpg');
ImageEnView1.Update;

ImageEnView1.Select(100,100,300,300,iespReplace );

why doesn't work ???
i can't see the selection... and even the crop do nothing

ImageEnView1.Proc.CropSel;

thank you all
1   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Apr 19 2013 : 06:49:27
Perhaps selectionbase is incorrect or you are not showing all the code you used that interacts with selections?

ImageEnView1.SelectionBase := iesbBitmap;

If this does not work create a small demo project that shows the problem and post all of the code here. When I call the code here it works as expected.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html