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




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
)
Managed Extensions for 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 ContextMenu.

Example

For an example, refer to AnnAutomationManager.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features