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
chouk Posted - Nov 05 2019 : 13:07:39
Hi,
I need to make selection/Zone (with mouse or by code) un ImageEnView and
Move / resize this selection by mouse and get/return the new coordinates of the selection.
I tried to make selection par code like
ImageEnView1.select(X1, X2, Y1,Y2);
and return this coordinates by
ImageEnView1.SelX1..
but the values didn't match the initial values.
Thank's for help.

Choukri
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 05 2019 : 20:56:43
Hi Choukri

ImageEnView1.SelX1/SelY1/SelX2/SelY2 return values relative to the Bitmap.

ImageEnView1.Select can either use Bitmap or ClientArea values:

https://www.imageen.com/help/TImageEnView.Select.html

Depending on the value of SelectionBase (which is ClientArea by default):

https://www.imageen.com/help/TImageEnView.SelectionBase.html

Nigel
Xequte Software
www.imageen.com