This documentation is archived and is not being maintained.

InkCollectorSystemGestureEventArgs Constructor

Initializes a new instance of the InkCollectorSystemGestureEventArgs class.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

public InkCollectorSystemGestureEventArgs(
	Cursor cursor,
	SystemGesture id,
	Point pt,
	int modifier,
	char c,
	int mode
)

Parameters

cursor
Type: Microsoft.Ink.Cursor

The Cursor used to create the Stroke object.

id
Type: Microsoft.Ink.SystemGesture

The value of the SystemGesture enumeration that corresponds to the system gesture.

pt
Type: System.Drawing.Point

The location of the hot point for the system gesture.

modifier
Type: System.Int32

Reserved.

c
Type: System.Char

Reserved.

mode
Type: System.Int32

Set to 1 if the Cursor object is in ink mode; 2 if the Cursor object is in erase mode.

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.

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.

.NET Framework

Supported in: 3.0
Show: