ImageMan.Net Version 3 Summer 2012 Release
KeyPress Method
See Also  Send Feedback
DTI.ImageMan Namespace > IKeyStrokes Interface : KeyPress Method





sender
The sender.
e
The System.EventArgs instance containing the event data.

Glossary Item Box

The KeyPress method is called by the Annotation class in response to a KeyPress Event allowing the Mark that implements an IKeyStrokes interface to respond.

Syntax

Visual Basic (Declaration) 
Sub KeyPress( _
   ByVal sender As System.Object, _
   ByVal e As System.Windows.Forms.KeyPressEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As IKeyStrokes
Dim sender As System.Object
Dim e As System.Windows.Forms.KeyPressEventArgs
 
instance.KeyPress(sender, e)
C# 
void KeyPress( 
   System.object sender,
   System.Windows.Forms.KeyPressEventArgs e
)
JScript 
function KeyPress( 
   sender : System.Object,
   e : System.Windows.Forms.KeyPressEventArgs
);
Managed Extensions for C++ 
void KeyPress( 
   System.Object* sender,
   System.Windows.Forms.KeyPressEventArgs* e
) 
C++/CLI 
void KeyPress( 
   System.Object^ sender,
   System.Windows.Forms.KeyPressEventArgs^ e
) 

Parameters

sender
The sender.
e
The System.EventArgs instance containing the event data.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.