InkCollectorSystemGestureEventArgs Constructor
Initializes a new instance of the InkCollectorSystemGestureEventArgs class.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
cursor As Cursor, _
id As SystemGesture, _
pt As Point, _
modifier As Integer, _
c As Char, _
mode As Integer _
)
'Usage
Dim cursor As Cursor
Dim id As SystemGesture
Dim pt As Point
Dim modifier As Integer
Dim c As Char
Dim mode As Integer
Dim instance As New InkCollectorSystemGestureEventArgs(cursor, _
id, pt, modifier, c, mode)
public InkCollectorSystemGestureEventArgs(
Cursor cursor,
SystemGesture id,
Point pt,
int modifier,
char c,
int mode
)
public:
InkCollectorSystemGestureEventArgs(
Cursor^ cursor,
SystemGesture id,
Point pt,
int modifier,
wchar_t c,
int mode
)
public function InkCollectorSystemGestureEventArgs(
cursor : Cursor,
id : SystemGesture,
pt : Point,
modifier : int,
c : char,
mode : int
)
Parameters
cursor
Type: Microsoft.Ink.Cursor
id
Type: Microsoft.Ink.SystemGestureThe value of the SystemGesture enumeration that corresponds to the system gesture.
pt
Type: System.Drawing.PointThe location of the hot point for the system gesture.
modifier
Type: System.Int32Reserved.
c
Type: System.CharReserved.
mode
Type: System.Int32Set to 1 if the Cursor object is in ink mode; 2 if the Cursor object is in erase mode.
Remarks
cursor of type Cursor is the cursor used to perform the gesture. id of type SystemGesture is the gesture's id. pt is the location of the gesture. modifier is the gesture modifier (e.g. control alt). c is the character associated with the gesture. mode is the mode of the cursor during the gesture.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
InkCollectorSystemGestureEventArgs Class