Annotation Menu

Note: This topic is for Document/Medical only.

LEADTOOLS provides an ILEADRasterAnnMenu object. The ILEADRasterAnnMenu object can be created from the AnnMenu handle that is passed to the AnnMenu event. This object lets you modify the annotation automation menu. The object can be modified using the following methods and properties:

AddItem

Count

DeleteItem

GetSubMenu

ItemChecked

ItemEnabled

ItemID

ItemString

ItemType

SetAnnMenu method

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.