Accusoft.ImagXpress13.Net
ChangeItem Method




A Tool enumeration value which represents the tool that the menu item is associated to.
An integer value which represents the top-level menu in which the menu item resides.
Changes the text title of the specified menu item.
Syntax
'Declaration
 
Public Function ChangeItem( _
   ByVal tool As Tool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer, _
   ByVal menuText As String _
) As Boolean
'Usage
 
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim menuText As String
Dim value As Boolean
 
value = instance.ChangeItem(tool, topMenuId, subMenuId, menuText)
public bool ChangeItem( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   string menuText
)
public: bool ChangeItem( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   string* menuText
) 
public:
bool ChangeItem( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   String^ menuText
) 

Parameters

tool
A Tool enumeration value which represents the tool that the menu item is associated to.
topMenuId
An integer value which represents the top-level menu in which the menu item resides.
subMenuId
An integer value which represents the sub-level menu in which the menu item resides.
menuText
A string value which represents the text to change the menu item to.

Return Value

A boolean value which is true if the menu item text was changed. Otherwise, false is returned.
See Also

Reference

ToolbarContextMenu Class
ToolbarContextMenu Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback