Annotation Menu

Note: This topic is for Document/Medical only.

LEADTOOLS provides an AnnMenu object, accessible through the AnnMenu event, which lets you modify the annotation automation menu. A pointer to an AnnMenu object is passed to the AnnMenu event. At this point you can modify this object using the following methods and properties:

AddItem

Count

DeleteItem

GetSubMenu

ItemChecked

ItemEnabled

ItemID

ItemString

ItemType

When a user-defined annotation automation menu item is clicked, an AnnUserMenu event is fired. If the user-defined menu item was added using the AddItem method, then the AnnUserMenu event receives the same item ID that was passed to the AddItem method.