Compartir a través de


InkCollectorSystemGestureEventArgs.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 InkCollectorSystemGestureEventArgs (
    Cursor cursor, 
    SystemGesture id, 
    Point pt, 
    int modifier, 
    char c, 
    int mode
)
public function InkCollectorSystemGestureEventArgs (
    cursor : Cursor, 
    id : SystemGesture, 
    pt : Point, 
    modifier : int, 
    c : char, 
    mode : int
)
Not applicable.

Parameters

  • id
    The value of the SystemGesture enumeration that corresponds to the system gesture.
  • pt
    The location of the hot point for the system gesture.
  • modifier
    Reserved.
  • c
    Reserved.
  • mode
    Set 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkCollectorSystemGestureEventArgs Class
InkCollectorSystemGestureEventArgs Members
Microsoft.Ink Namespace
InkCollector.SystemGesture
Gesture.HotPoint