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, November 3, 2008 2:16:48 PM(UTC)
JoeBussell

Groups: Registered
Posts: 15


Given annotations that have been selected in the old group method, is it possible to disable the group resizing.  The issue that I am having is that multiple objects can be selected, which in my case is appropriate for moves, but not for resizing.  What I would like to do is to maybe use AnnHit to determine if I have hit a handle then behave accordingly (maybe by deselecting).

Any other ideas?  Any way to explicitly disallow resizing on a multi-select?  Any way to turn off handles for stamps?
 

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, November 4, 2008 5:22:05 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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


Joe,
Can you please tell me what LEADTOOLS version (14.5, 15, etc.) are you using?
Also, What LEADTOOLS Programming interface (COM, OCX, .NET, etc.) are you using?
 
#3 Posted : Tuesday, November 4, 2008 8:22:32 AM(UTC)
JoeBussell

Groups: Registered
Posts: 15


I am using Lead 14.5 via the ocx interface.
 
#4 Posted : Wednesday, November 5, 2008 4:29:20 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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

Joe,
Since we do not have a direct feature for this, I'm afraid you will have to implement it yourself.
One way that might work is to check the AnnGetSelectCount property on AnnSelect event. If the number of AnnObjects is larger than 1 save the width and height of the selected annotation objects and set a flag that will indicate that this is a group of objects.
On the AnnChange event, if the group flag is set, set the size of the annotation objects to match the saved ones.
 
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.058 seconds.