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



e
A KeyEventArgs object that contains data related to this event.
e
A KeyEventArgs object that contains data related to this event.
Handles key down events on the designer.

Syntax

Visual Basic (Declaration) 
Public Overridable Function KeyDown( _
   ByVal e As KeyEventArgs _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnDesigner
Dim e As KeyEventArgs
Dim value As Boolean
 
value = instance.KeyDown(e)
C# 
public virtual bool KeyDown( 
   KeyEventArgs e
)
C++/CLI 
public:
virtual bool KeyDown( 
   KeyEventArgs e
) 

Parameters

e
A KeyEventArgs object that contains data related to this event.

Return Value

true if this event is handled; false otherwise.

Example

For an example, refer to AnnDesigner.

Remarks

Derived classes should override this method in order to process key down click events on the container. The designer should return true if it handled this event in any way.

The annotation application should call this method from the Owner controls KeyDown event.

Requirements

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

See Also

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