ItemID property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax long ItemID (short iIndex)

Overview:  Refer to Annotation Menu

Remarks

Gets or sets the command ID value for the specified menu item.

The ID value set must be in the range LTANNEVENT_MENUFIRST [0x0100] to LTANNEVENT_MENULAST [0x01FF].

This property is associated with the AnnMenu object that is passed to the AnnMenu event.

See Also

Elements:  AnnMenu event, Count property, ItemString property, ItemType property, ItemChecked property, ItemEnabled property, DeleteItem method, AddItem method, GetSubMenu Method

Topics:  Annotations (Document/Medical only): Automation