This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, May 3, 2012 1:20:15 AM(UTC)
Groups: Registered
Posts: 11
Hi,
How can i disable Selecting Multi Annotaions in Raster Image Viewer?
i would like to have it in a way that if the user hold down the left mouse button and tried to drag the mouse then the pointer will not change to multi selection pointer, it will stick to the same as an arrow cursor
P.S: i already used this code for the automation manager automationManager.MultiSelectModifierKey = Keys.None, but it will only disable for keys not mouse
#2
Posted
:
Friday, May 4, 2012 5:14:02 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Hello Ahmad,
You can disable this by removing AnnGroup object from AutomationManagers default Object list.
For example
if (_automationManager.Objects[i].Id == AnnAutomationManager.GroupObjectId)
_automationManager.Objects.RemoveAt(i);
http://www.leadtools.com/help/leadtools/v175/dh/an/leadtools.annotations~leadtools.annotations.annautomationmanager~objects.html
#3
Posted
:
Saturday, May 5, 2012 1:27:11 AM(UTC)
Groups: Registered
Posts: 11
Dear Rayan,
Thank you, it worked as expected
#4
Posted
:
Monday, May 7, 2012 11:37:26 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Your welcome Ahmad,
Let us know if you have any other questions.
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.