LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
KeyUpEventArgs Constructor
See Also 
Leadtools.Multimedia Namespace > KeyUpEventArgs Class : KeyUpEventArgs Constructor



keyCode
The short integer value identifying which key was released.
shiftState
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed
The object constructor for the KeyUpEventArgs object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal keyCode As Short, _
   ByVal shiftState As Short _
)
Visual Basic (Usage)Copy Code
Dim keyCode As Short
Dim shiftState As Short
 
Dim instance As New KeyUpEventArgs(keyCode, shiftState)
C# 
public KeyUpEventArgs( 
   short keyCode,
   short shiftState
)
C++/CLI 
public:
KeyUpEventArgs( 
   short keyCode,
   short shiftState
)

Parameters

keyCode
The short integer value identifying which key was released.
shiftState
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed

Remarks

This constructer is called internally when an KeyUpEvent occurs.

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