Leadtools.Medical3D Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
Set Method
See Also 
Leadtools.Medical3D Namespace > Medical3DAction Class : Set Method



button
Medical3DMouseButtons represents the mouse button to be assigned.
modifier
Keys represents the modifier key to be assigned.
button
Medical3DMouseButtons represents the mouse button to be assigned.
modifier
Keys represents the modifier key to be assigned.
Assigns an action to a specific mouse button and modifier.

Syntax

Visual Basic (Declaration) 
Public Sub Set( _
   ByVal button As Medical3DMouseButtons, _
   ByVal modifier As Keys _
) 
Visual Basic (Usage)Copy Code
Dim instance As Medical3DAction
Dim button As Medical3DMouseButtons
Dim modifier As Keys
 
instance.Set(button, modifier)
C# 
public void Set( 
   Medical3DMouseButtons button,
   Keys modifier
)
C++/CLI 
public:
void Set( 
   Medical3DMouseButtons button,
   Keys modifier
) 

Parameters

button
Medical3DMouseButtons represents the mouse button to be assigned.
modifier
Keys represents the modifier key to be assigned.

Remarks

If you assign a certain action to mouse button and modifier that are already assigned to another action, the actions will swap their values. Do you mean by "the actions will swap their values" that the new action will replace the already assigned action ? if the answer is no, then what exactly this means?

Requirements

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

See Also

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