Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EnableCommand Method
See Also 
Leadtools.Dicom.Common.Editing Namespace > DicomEditableObject Class : EnableCommand Method



id
The id of the command.
enable
if set to true enable the command.
id
The id of the command.
enable
if set to true enable the command.
Enables the command.

Syntax

Visual Basic (Declaration) 
Public Sub EnableCommand( _
   ByVal id As CommandID, _
   ByVal enable As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomEditableObject
Dim id As CommandID
Dim enable As Boolean
 
instance.EnableCommand(id, enable)
C# 
public void EnableCommand( 
   CommandID id,
   bool enable
)
C++/CLI 
public:
void EnableCommand( 
   CommandID^ id,
   bool enable
) 

Parameters

id
The id of the command.
enable
if set to true enable the command.

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.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features