Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CreateDefaultObjectContextMenu Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : CreateDefaultObjectContextMenu Method



id
The ID of the AnnAutomationObject.
id
The ID of the AnnAutomationObject.
Creates the context menu associated with a certain ID.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateDefaultObjectContextMenu( _
   ByVal id As Integer _
) As ContextMenu
Visual Basic (Usage)Copy Code
Dim id As Integer
Dim value As ContextMenu
 
value = AnnAutomationManager.CreateDefaultObjectContextMenu(id)
C# 
public static ContextMenu CreateDefaultObjectContextMenu( 
   int id
)
C++/CLI 
public:
static ContextMenu CreateDefaultObjectContextMenu( 
   int id
) 

Parameters

id
The ID of the AnnAutomationObject.

Return Value

The default ContextMenu used in AnnAutomationObject.ContextMenu.

Example

For C#/VB examples, refer to AnnAutomationManager.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

CreateDefaultObjectContextMenu requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.