IStylusAsyncPlugin.StylusOutOfRange Method

Notifies the implementing plug-in that the stylus is leaving detection range of the digitizer.

Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in microsoft.ink.dll)

void StylusOutOfRange (
	RealTimeStylus sender,
	StylusOutOfRangeData data
)
void StylusOutOfRange (
	RealTimeStylus sender, 
	StylusOutOfRangeData data
)
function StylusOutOfRange (
	sender : RealTimeStylus, 
	data : StylusOutOfRangeData
)
Not applicable.

Parameters

sender

The RealTimeStylus object that sent the notification.

data

Information about the Stylus object associated with the notification.

This C# example implements the StylusOutOfRange method. The example notifies the developer when the stylus has gone out of the range detected by the tablet digitizer.

public void StylusOutOfRange(RealTimeStylus sender, StylusOutOfRangeData data)
{
    Debug.Assert(false, "StylusOutOfRange", "The stylus with ID number " 
                        + data.Stylus.Id.ToString() + " has gone out of range of the tablet.");
}

This Microsoft Visual Basic .NET example implements the StylusOutOfRange method. The example notifies the developer when the stylus has gone out of the range detected by the tablet digitizer.

Public Sub StylusOutOfRange(ByVal sender As RealTimeStylus, ByVal data As StylusOutOfRangeData) _
 Implements IStylusAsyncPlugin.StylusOutOfRange
    Debug.Assert(False, "StylusOutOfRange", "The stylus with ID number " & _
           data.Stylus.Id.ToString() & " has gone out of range of the tablet.")
End Sub 'StylusOutOfRange

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: