[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class InkCollectorCursorOutOfRangeEventArgs : EventArgs
In this example, when the CursorOutOfRange event fires, the color of the last stroke to be created is changed to red.
private void mInkObject_CursorOutOfRange(object sender, InkCollectorCursorOutOfRangeEventArgs e)
using (Strokes S = mInkObject.Ink.Strokes)
if (S.Count > 0)
S[S.Count - 1].DrawingAttributes.Color = Color.Tomato;
// redraw the ink canvas
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback