Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Point structure that indicates the location of the system gesture.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property Point As Point
'Usage
Dim instance As InkCollectorSystemGestureEventArgs
Dim value As Point
value = instance.Point
public Point Point { get; }
public:
property Point Point {
Point get ();
}
public function get Point () : Point
Property Value
Type: System.Drawing.Point
The location of the system gesture.
Examples
In this example, an InkCollectorSystemGestureEventHandler instance examines data passed in the InkCollectorSystemGestureEventArgs object. If a DoubleTap system gesture has occurred in the upper left corner of the ink canvas, all of the strokes on the ink canvas are erased.
Private Sub mInkObject_SystemGesture(ByVal sender As Object, ByVal e As InkCollectorSystemGestureEventArgs)
If (e.Id = SystemGesture.DoubleTap And e.Point.X <= 106 And e.Point.Y <= 106) Then
EraseAllStrokes()
End If
End Sub
private void mInkObject_SystemGesture(object sender, InkCollectorSystemGestureEventArgs e)
{
if (e.Id == SystemGesture.DoubleTap && e.Point.X <= 106 && e.Point.Y <= 106)
{
EraseAllStrokes();
}
}
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