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

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List


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
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, X2, Y1,Y2);
and return this coordinates by
but the values didn't match the initial values.
Thank's for help.

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:

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

Xequte Software