LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CreateDefaultObjectContextMenu Method
See Also 
Leadtools.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 System.Windows.Forms.ContextMenu used in AnnAutomationObject.ContextMenu.

Example

For an example, refer to AnnAutomationManager.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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