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

jeffp

USA
32 Posts

Posted - Oct 07 2024 :  15:45:25  Show Profile  Reply
I'm trying to draw a diagonal line from the top right corner to the bottom left. However, when I click the starting point in the top right and then drag to the bottom left, the line that appears in the box is from top left to bottom right?

How do I fix this?

jp

xequte

38535 Posts

Posted - Oct 07 2024 :  17:51:02  Show Profile  Reply
Hi Jeff

I presume you are using mlCreateLineLayers, which only gives you a default line in the selected area.

You are probably wanting mlClickCreateLineLayers which creates a line between two clicked points.

Please see:

http://www.imageen.com/help/TImageEnView.MouseInteractLayers.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jeffp

USA
32 Posts

Posted - Oct 07 2024 :  18:13:38  Show Profile  Reply
That was it. Thanks

jp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: