in

Archived Data Techniques Forums

Annotation Right Click Events

Last post 01-13-2010 2:42 PM by Admin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-13-2010 1:33 PM

    Annotation Right Click Events

    Lets say the user puts a note on the document and right clicks, they get a menu with formatting options and other options. Is there some way to prevent this menu from being displayed. I am trying to create a default note they can use, but I don't want them changing it.

    Also is there a way to programmatically change the settings for one of the annotations so it will be the same every time. For instance I want the note annotation to be filled, with backcolor white.  

    Thanks

    Will

  • 01-13-2010 2:42 PM In reply to

    Re: Annotation Right Click Events

    Hi Will,

    You can set the ShowContextMenu property  of the Annotation class to false to disable the context menu when a user right clicks.

    Yes you can set the defaults for the various tools. Each tool object has a Mark property which contains the default settings for Marks created with that tool.  You'll need to cast the Mark property to the type of Mark associated with the tool. We'll have a blog post with code showing how to do this sometime tomorrrow.

    Pls let us know if you have any other questions.

Page 1 of 1 (2 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.