IStylusAsyncPlugin.StylusOutOfRange - метод
Обновлен: Ноябрь 2007
Notifies the implementing plug-in that the stylus is leaving detection range of the digitizer.
Пространство имен: Microsoft.StylusInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Sub StylusOutOfRange ( _
sender As RealTimeStylus, _
data As StylusOutOfRangeData _
)
'Применение
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As StylusOutOfRangeData
instance.StylusOutOfRange(sender, data)
void StylusOutOfRange(
RealTimeStylus sender,
StylusOutOfRangeData data
)
void StylusOutOfRange(
RealTimeStylus^ sender,
StylusOutOfRangeData^ data
)
void StylusOutOfRange(
RealTimeStylus sender,
StylusOutOfRangeData data
)
function StylusOutOfRange(
sender : RealTimeStylus,
data : StylusOutOfRangeData
)
Параметры
- sender
Тип: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
Тип: Microsoft.StylusInput.PluginData.StylusOutOfRangeData
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 Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0