Returns the checked attribute of the specified menu item on the specified menu.
'Declaration
Public Function MenuGetItemChecked( _
ByVal As MenuType, _
ByVal As AnnotationTool, _
ByVal As Integer, _
ByVal As Integer _
) As Boolean
'Usage
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim value As Boolean
value = instance.MenuGetItemChecked(menuType, tool, topMenuId, subMenuId)
public bool MenuGetItemChecked(
MenuType ,
AnnotationTool ,
int ,
int
)
public: bool MenuGetItemChecked(
MenuType ,
AnnotationTool ,
int ,
int
)
public:
bool MenuGetItemChecked(
MenuType ,
AnnotationTool ,
int ,
int
)
Parameters
- menuType
- A MenuType enumeration value.
- tool
- If the menuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An AnnotationTool enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
- topMenuId
- An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
- subMenuId
- An integer which represents the item in the menu (subMenuId is 0 when the item is a top menu item). For built in menus, see the SubMenuId enumeration.
Return Value
A boolean value which is true if the specified menu item is checked. Otherwise, false is returned.