Welcome to LEAD Support Forum Login | Register | Faq  

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

Making Annotations Uneditable
Started by jmvetter at 07-24-2008 13:20. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  07-24-2008, 13:20
jmvetter is not online. Last active: 6/30/2008 7:51:26 PM jmvetter

Not Ranked
Joined on 06-26-2007
Posts 6
Making Annotations Uneditable
Reply Quote
Hello,
What I want to do seems simple but I have been unable to figure out how to make it happen. I want to be able to prevent all changes to annotations under certain circumstances. Originally I disabled the viewer but that then would not allow the scrollbars to work. I then tried to select all the annotations and lock but that shows the lock icons as well as needing a password. If you could point me in the correct direction to disable everything on the viewer and still allow scrolling and zooming.
I am using vb.NET and v15,
Thanks for the help.

   Report 
  07-24-2008, 16:20
jigar is not online. Last active: 11/19/2008 5:21:33 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 453
Re: Making Annotations Uneditable
Reply Quote
There are 2 things you can try.

1.  Set AnnAutomation.Container.UserMode = AnnUserMode.Run.  That should put it in viewing mode.
2.  If the above doesn't work you can make it so the lock symbol isn't drawn.  Set AnnAutomation.Container.DrawLockedInRunMode = false.  For this to work you still have to do the UserMode thing from item 1 above.

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Annotations » Making Annotations Uneditable

Powered by Community Server, by Telligent Systems