Partager via


IStylusSyncPlugin.StylusInRange, méthode

Mise à jour : November 2007

Informe le plug-in d'implémentation que le stylet entre dans la plage de détection du digitaliseur.

Espace de noms :  Microsoft.StylusInput
Assembly :  Microsoft.Ink (dans Microsoft.Ink.dll)

Syntaxe

'Déclaration
Sub StylusInRange ( _
    sender As RealTimeStylus, _
    data As StylusInRangeData _
)
'Utilisation
Dim instance As IStylusSyncPlugin
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
)

Paramètres

Exemples

Cet exemple C# implémente la méthode StylusInRange. L'exemple informe le développeur lorsqu'un stylet entre dans la plage de détection du digitaliseur du Tablet PC.

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.");
}

Cet exemple Microsoft Visual Basic .NET implémente la méthode StylusInRange. L'exemple informe le développeur lorsqu'un stylet entre dans la plage de détection du digitaliseur du Tablet PC.

Public Sub StylusInRange(ByVal sender As RealTimeStylus, ByVal data As StylusInRangeData) _
 Implements IStylusSyncPlugin.StylusInRange
    Debug.Assert(False, "StylusInRange", "The stylus with ID number " & _
      data.Stylus.Id.ToString() & " has come in range of the tablet.")
End Sub 'StylusInRange

Plateformes

Windows Vista, Windows XP SP2, Windows Server 2003

Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Informations de version

.NET Framework

Pris en charge dans : 3.0

Voir aussi

Référence

IStylusSyncPlugin, interface

Membres IStylusSyncPlugin

Microsoft.StylusInput, espace de noms

StylusOutOfRange