IStylusAsyncPlugin.StylusInRange - метод
Обновлен: Ноябрь 2007
Notifies the implementing plug-in that the stylus is entering the detection range of the digitizer.
Пространство имен: Microsoft.StylusInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Sub StylusInRange ( _
sender As RealTimeStylus, _
data As StylusInRangeData _
)
'Применение
Dim instance As IStylusAsyncPlugin
Dim sender As RealTimeStylus
Dim data As StylusInRangeData
instance.StylusInRange(sender, data)
void StylusInRange(
RealTimeStylus sender,
StylusInRangeData data
)
void StylusInRange(
RealTimeStylus^ sender,
StylusInRangeData^ data
)
void StylusInRange(
RealTimeStylus sender,
StylusInRangeData data
)
function StylusInRange(
sender : RealTimeStylus,
data : StylusInRangeData
)
Параметры
- sender
Тип: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
Тип: Microsoft.StylusInput.PluginData.StylusInRangeData
Information about the Stylus object associated with the stylus.
Примеры
This C# example implements the StylusInRange method. The example notifies the developer when a stylus has come within the detection range of the tablet digitizer.
public void StylusInRange(RealTimeStylus sender, StylusInRangeData data)
{
Debug.Assert(false, "StylusInRange", "The stylus with ID number "
+ data.Stylus.Id.ToString() + " has come in range of the tablet.");
}
This Microsoft Visual Basic .NET example implements the StylusInRange method. The example notifies the developer when a stylus has come within the detection range of the tablet digitizer.
Public Sub StylusInRange(ByVal sender As RealTimeStylus, ByVal data As StylusInRangeData) _
Implements IStylusAsyncPlugin.StylusInRange
Debug.Assert(False, "StylusInRange", "The stylus with ID number " & _
data.Stylus.Id.ToString() & " has come in range of the tablet.")
End Sub 'StylusInRange
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0