AddDefaultContextMenu Method (IApplication)
Adds a menu item to the DraftSight default context-sensitive menu.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddDefaultContextMenu( _
const dsString& ApiUuid As System.String, _
dsMenuItemType_e ItemType As dsMenuItemType_e, _
const dsString& ItemName As System.String, _
const dsString& UserCmdID As System.String _
) As ContextMenuItem |
Parameters
- ApiUuid
- UUID of the add-in or non add-in application
- ItemType
- Type of menu item as defined in dsMenuItemType_e
- ItemName
- Name of the menu item
- UserCmdID
- User-defined command ID when ItemType is dsMenuItemType_e.dsMenuItemType_UserCommand
- ContextMenuItem[out] or Return Value
- Context-sensitive menu item for DraftSight
Example
Remarks
See Also
Availability
DraftSight V1R5.0