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



keyAscii
The short integer ASCII code value identifying which key was pressed.
The object constructor for the KeyDownEventArgs object.

Syntax

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

Parameters

keyAscii
The short integer ASCII code value identifying which key was pressed.

Remarks

This constructer is called internally when an KeyDownEvent 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