This documentation is archived and is not being maintained.
InkCollectorCursorOutOfRangeEventArgs Class
Visual Studio 2008
Provides data for the InkCollector.CursorOutOfRange, InkOverlay.CursorOutOfRange, and InkPicture.CursorOutOfRange events.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
In this example, when the CursorOutOfRange event fires, the color of the last stroke to be created is changed to red.
Private Sub mInkObject_CursorOutOfRange(ByVal sender As Object, ByVal e As InkCollectorCursorOutOfRangeEventArgs) Using s As Strokes = mInkObject.Ink.Strokes If s.Count > 0 Then s(s.Count - 1).DrawingAttributes.Color = Color.Tomato ' redraw the ink canvas panelInkCanvas.Invalidate() End If End Using End Sub
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.
Show: