Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Disable resizing
Started by lorenzopapa at 08-27-2008 18:37. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  08-27-2008, 18:37
lorenzopapa is not online. Last active: 9/3/2008 11:45:28 AM lorenzopapa

Not Ranked
Joined on 08-27-2008
Posts 3
Disable resizing
Reply Quote
I'm using LT 1.5 and AnnImageObject. I would like to mantain the standard behaviour for rotating a mouving for the objecy but i would like to disable the resizing behavior. How can i do this?

My annimageobject must mantains the original dimensions that i create dinamically
   Report 
  08-28-2008, 10:11
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,271
Re: Disable resizing
Reply Quote
Do you mean you want to control our annotation automation feature so that the user can move and rotate, but not resize the objects? If yes, which LEADTOOLS programming interface (DLL API, C++ Class Library, .NET classes, etc.) you are using?


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  08-28-2008, 12:03
lorenzopapa is not online. Last active: 9/3/2008 11:45:28 AM lorenzopapa

Not Ranked
Joined on 08-27-2008
Posts 3
Re: Disable resizing
Reply Quote
I'm using LT 1.5 with .net (Vb.Net) 3.5 (VS 2008)
Thanks for the support
   Report 
  08-28-2008, 12:04
lorenzopapa is not online. Last active: 9/3/2008 11:45:28 AM lorenzopapa

Not Ranked
Joined on 08-27-2008
Posts 3
Re: Disable resizing
Reply Quote
Yes you are right it's the thing i would like to do rotate and mouve but not resize using the UI
   Report 
  09-01-2008, 6:46
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,271
Re: Disable resizing
Reply Quote
One way to do that could be to handle the annotation change events, and when a resizing event is triggered, cancel the action. Save the size of your annotation object in the BeforeObjectChanged Event. If the user moves the object or rotates it, compare the size of the object with the saved values inside the AfterObjectChanged Event. If the size changes, cancel the action using the Undo Method.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Annotations » Re: Disable resizing

Powered by Community Server, by Telligent Systems