This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, February 5, 2009 12:20:45 AM(UTC)
Groups: Registered
Posts: 23
Hi,
I am using Document Leadtool 14.5 & interface is Delphi. I have
drawn two polygon annotation objects. Using mouse, I can select both
the objects. Is there any method to find the number of objects
selected. Actually, I want to restrict my application to select
multiple annotation object using mouse dragging.
Regards,
Manoj Kumar
#2
Posted
:
Friday, February 6, 2009 4:25:53 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
You can get the number of selected objects with the AnnGetSelectCount method of the Annotation control. Since you are letting the user select the annotations with the mouse, you should handle the OnAnnSelect event which gives you a handle to the selected objects as well as the number of selected objects.
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.