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 : Monday, August 3, 2009 9:32:23 PM(UTC)
Jacob Seleznev

Groups: Registered
Posts: 5


Hi,

I'm using v 16.5 of the LEADTOOLS .NET Leadtools.Annotations assembly.


Following the example in the OnDesignerEdit function, I use designers to create and select annotation objects in Non Automated Annotation program.

My current designer is AnnLineEditDesigner.
I handle the Edit event to retrieve coordinates of my AnnLineObject object like this:

private void OnDesignerEdit(object sender, AnnEditDesignerEventArgs e)
{
if (e.OperationStatus == AnnDesignerOperationStatus.End && e.Operation == AnnEditDesignerOperation.Move)
{
AnnLineObject annLineObject = (AnnLineObject) e.Object;
Console.WriteLine("Start Point : {0} EndPoint : {1}", annLineObject.StartPoint,
annLineObject.EndPoint);
}
}

I expect that the edited object coordinates are updated when the user has clicked and dragged the object itself (e.Operation=AnnEditDesignerOperation.Move) as well as when the user has clicked and dragged a AnnControlPoint (e.Operation=AnnEditDesignerOperation.MoveControlPoint).

When I run it, that worked only if Operation is MoveControlPoint. When Operation is Move the coordinates of the moved object are not updated.

This is very strange behaviour.

I looked carefully at the documentation and didn't find what is missing.
This feels like a bug or at least inconsistency.

Any help would be appreciated.

Thanks
Jacob
 

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 : Tuesday, August 4, 2009 7:20:48 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

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

Jacob,
The reply in this thread might be what you need:
http://support.leadtools.com/SupportPortal/CS/forums/6889/ShowPost.aspx#6889

If not, please give me more details about the problem.
 
#3 Posted : Tuesday, August 4, 2009 3:13:43 PM(UTC)
Jacob Seleznev

Groups: Registered
Posts: 5


Basel,

Thanks. That solved my problem.
 
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.055 seconds.