Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, January 14, 2009 7:19:29 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi,

I am using Document Leadtool version 14.5.

I have drawn a Polygon having 4 points  using annotation tool. I
can edit the Polygon by moving there points, & hence can change shape. I can also move the Polygon like drag - drop.

Editing of points is fine But what I want is to restrict the movement
of Polygon. Points can move but Polygon should not. Can anybody help me regarding this.
Very much thankful to you.


Regards,
Manoj Kumar
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, January 15, 2009 9:07:01 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

You might be able to detect the annotation change event and prevent or undo moving the object.
Can you tell me which LEADTOOLS programming interface (DLL API, C++ Class Library, .NET , etc.) are you using?
 
#3 Posted : Thursday, January 15, 2009 6:39:56 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi Adnan,
Thanx for your reply.
I am using Delphi interface.
How I can prevent moving the object in annotation change event. Is there any method?

Regards,
Manoj Kumar
 
#4 Posted : Sunday, January 18, 2009 4:55:59 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

If you use our DLL API annotations function of LEADTOOLS 14.5 with Delphi, you can handle the WM_LTANNEVENT message and detect the ANNCHANGE_MOVE event and see when nState field is set to STATE_BEGIN. At that time, store the object location and when STATE_END arrives, restore the object to its original location.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.054 seconds.