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
 how can i get layer position from screen?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

stkwon

20 Posts

Posted - Oct 06 2018 :  10:05:54  Show Profile  Reply
if using ImageEnView.CurrentLayer.PosX and Y

then i just receive layer position on ImageEnView.

i want make imagelayer detail property by Tform with following currentlayer position. like a magnetic form(?)

how can i get layer position from screen?

please, help me.

xequte

39053 Posts

Posted - Oct 07 2018 :  15:03:22  Show Profile  Reply
The position of the layer within the TImageEnView in screen coordinates is available via:

https://www.imageen.com/help/TIELayer.ClientAreaBox.html

You can also convert between bitmap and screen values using methods like:

https://www.imageen.com/help/TIELayer.ConvXBmp2Scr.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: