Annotation Menu

Note:

This topic is for Document/Medical only.

LEADTOOLS provides an AnnMenu object, accessible through the OnAnnMenu 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 method

Count property

DeleteItem method

GetSubMenu method

ItemChecked property

ItemEnabled property

ItemID property

ItemString property

ItemType property

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