ItemType property (ILEADRasterAnnMenu)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

AnnMenuItemTypeConstants ItemType (short iIndex)

Overview

Refer to Annotation Menu

Remarks

(Read only) Gets the specified menu item’s type. Possible values are:

Value

Meaning

ANN_MENUITEMTYPE_NORMAL

[0] Normal menu item.

ANN_MENUITEMTYPE_SEPARATOR

[1] Menu item is a separator.

ANN_MENUITEMTYPE_SUBMENU

[2] Menu item is a popup menu.

This property is associated with an ILEADRasterAnnMenu object. The ILEADRasterAnnMenu object can be created from the AnnMenu handle that is passed to the AnnMenu event.

See Also

Elements:

Count property, ItemString property, ItemID property, ItemChecked property, ItemEnabled property, DeleteItem method, AddItem method, GetSubMenu Method

Topics:

Annotations (Document/Medical only): Automation