LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
KeyDown Method
See Also 
Leadtools.Annotations Namespace > AnnDesigner Class : KeyDown Method



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

The KeyDown Method is available in LEADTOOLS Document and Medical Imaging toolkits.

e
A System.Windows.Forms.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 System.Windows.Forms.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 System.Windows.Forms.Control.KeyDown event.

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