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 : Thursday, February 5, 2009 12:20:45 AM(UTC)

makumar  
makumar

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
 

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 : Friday, February 6, 2009 4:25:53 AM(UTC)

GregR  
GregR

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.

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